Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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