Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi All,
I have some code that creates an Change Requestvia static factory method in a Workflow Expression Robot. I am trying to adapt to create a soft-type of Change Request. I thought that disbaling OIR's for the parent type (or setting the instantiable checkbox in the type and attribute manager would do the trick, butno luck. Any ideas?
Hi, you can use the "unsupported" method I used to create a subtype of WTChangeActivity2 (see attached snipped code)
See statement
((Typed)ca).setTypeDefinitionReference(TypedUtilityServiceHelper.service.getTypeDefinitionReference(targetType));
where targetType is defined as String.
I am sure it should work for ChangeRequest.
Regards,
Vittorio
