Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
CAT Service is trying to use the Notifications in Windchill to email users when a Media goes from "IN WORK" to "PRODUCTION" state using a Change Notice. However from the custom Service workflow we cannot emit ChangeLifecycleStateSummaryEvent or LifeCycleServiceEvent.STATE_CHANGE for an object from the custom code.
note from Marek Nowacryk -
"I investigated this further and unfortunately that will not be possible as the methods that will have to be used to emit ChangeLifecycleStateSummaryEvent or LifeCycleServiceEvent.STATE_CHANGE for an object: getSummaryEvent and contribute in ChangeLifecycleStateSummaryEvent and generateEventKey in LifeCycleServiceEvent are currently not supported for use in customizations: "
We need to have this supported in our custom workflow so the users can get their Notification emails when the Media goes to Production state.
ChangeLifecycleStateSummaryEvent.getSummaryEvent().contribute((Notifiable)object, oldState, newState);
LifeCycleServiceEvent.generateEventKey(LifeCycleServiceEvent.STATE_CHANGE));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.