In CA SDM change order classic workflow, we want for same change category needs to attach different workflows based on the change type.
For Change category “Applications” and change type is “Normal”, workflow tasks will be approvers’ group and reviewers’ group.
For the same change category “Applications” and change type is “Emergency”, workflow tasks will be CCB Approvers’ group.
Any ideas regarding this requirement is highly appreciated.
Thanks in advance.
Hi Bin-wip - Currently we dont have a way to do that out of the box. The existing functionality and database relationship only allows one wf template to be added to a category. There is no code or trigger in place to choose a wf template based on the change type. This would be something that would have to be done via custom code and/or custom web services apps. Typically something like this would be driven by using service types (which can be based on the change type via the use of a condition) - and service types can have additional tasks. Not sure if that would meet your needs or not.
There may be some folks out here on the community who have gotten something like this to work and they may be willing to share their info with you.
One way to do it is thru js script to check if the change order type is emergency and category is Application and if true,
either prompt end users to change to new category(let us call it Application-Emergence where you have different wf setup) or the script changes to the category Application-Emergence. Take a look athttps://communities.ca.com/thread/241787676-how-can-i-prompt-that-a-incident-ticket-field-is-required
Chi thats a great idea!!!!
@Bin-wip - will that help you?
Another possible solution is to leave all 3 tasks in the same change category template, but use Behaviors to control which tasks are actioned:
@Bin-wip - did all of the suggestions posted here help you out on this one?
Let us know,