CA Service Management

 View Only
  • 1.  Change workflows based on change type on same chg category

    Posted Dec 06, 2017 01:34 AM

    Hi All,

     

    In CA SDM change order classic workflow, we want for same change category needs to attach different workflows  based on the change type.

    Example:

    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.

     

    Regards,

    Hima



  • 2.  Re: Change workflows based on change type on same chg category

    Posted Dec 06, 2017 11:06 AM

    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.

    Thanks,
    Jon I.



  • 3.  Re: Change workflows based on change type on same chg category
    Best Answer

    Broadcom Employee
    Posted Dec 06, 2017 11:42 AM

    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 at
    https://communities.ca.com/thread/241787676-how-can-i-prompt-that-a-incident-ticket-field-is-required



  • 4.  Re: Change workflows based on change type on same chg category

    Posted Dec 06, 2017 11:50 AM

    Chi thats a great idea!!!!

    @Bin-wip  - will that help you?

    Jon



  • 5.  Re: Change workflows based on change type on same chg category

    Posted Dec 11, 2017 12:32 AM

    Another possible solution is to leave all 3 tasks in the same change category template, but use Behaviors to control which tasks are actioned:

    SequenceTaskBehavior on status PENDING
    100Approvers group approvalif Change Type is Emergency, set status to SKIP
    200Reviewers group approvalif Change Type is Emergency, set status to SKIP
    300CCB approvalif Change Type is not Emergency, set status to SKIP

     

    Regards,

    James



  • 6.  Re: Change workflows based on change type on same chg category

    Posted Dec 11, 2017 07:57 AM

    @Bin-wip  - did all of the suggestions posted here help you out on this one?  

    Let us know,

    Thanks

    Jon