CA Service Management

Expand all | Collapse all

SDM Classic Workflow Email message

Giedrius Bekintis

Giedrius BekintisAug 23, 2017 07:09 AM

  • 1.  SDM Classic Workflow Email message

    Posted Aug 23, 2017 07:00 AM

    Hi All

     

    I have a need to show the name of an Assignee or Group of a specific task that is connected to the Change Order within an Email.

    I have a Mulitple Notification on the Change Order Workflow Tasks, in my Notifications 'Message Template' I want to specify a specific tasks Assignee or group name within an email.

     

    When I use @{task.assignee.combo_name} it works and does it show that particular tasks assignee's name, I however want to see the name of the assignee or Group of 2 sequential tasks later in the workflow

     

    I have tried below but with no success

     

    @{sequence.40.assignee.combo_name}

    @{task.40.assignee.combo_name}

    ... and many more

     

    Hope someone can help me.



  • 2.  Re: SDM Classic Workflow Email message

    Posted Aug 23, 2017 07:09 AM

    Try to use:

    @{assignee.combo_name}



  • 3.  Re: SDM Classic Workflow Email message

    Posted Aug 23, 2017 07:32 AM

    Thank you Gutis

     

     I, however, do not want to indicate the assignee of the task the email is triggered from. I need it to reference another task 'assignee' within the same change Order



  • 4.  Re: SDM Classic Workflow Email message

    Posted Aug 23, 2017 07:10 AM

    Hi Jacques, Unfortunately I dont believe this can be done via the attributes in the notification template

    Something like this would be an enhancement which you can post here in the community as an "idea" - this way folks can vote for it and product management can review it.

    Thanks,

    Jon I.



  • 5.  Re: SDM Classic Workflow Email message

    Posted Aug 23, 2017 07:25 AM

    Hi Jon

     

    Thank you for your feedback, I would have thought it possible as one is able to report on properties and the values 

     

    @{call_req_id.properties.0.label}   @{call_req_id.properties.0.value}
    @{call_req_id.properties.1.label}   @{call_req_id.properties.1.value}
    @{call_req_id.properties.2.label}   @{call_req_id.properties.2.value}

     

    Also, I saw something similar was mentioned in below link jmayer

    SDM 14.1 - How to add 'Approval' workflow task comments to 'Abandon/Cancel' CO message template 

     

    I also tagged Jerome

    Thank you

    Jacques



  • 6.  Re: SDM Classic Workflow Email message

    Posted Aug 23, 2017 01:14 PM

    Tagging Lindsay_Estabrooks in on this one.  @Lindsay - any ideas here?  This is related to your post in May to Jacques about a similar request...



  • 7.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 03:01 AM

    Thank you Jon



  • 8.  Re: SDM Classic Workflow Email message

    Posted Aug 23, 2017 01:53 PM

    Based on the following assumptions:

    1. The Multi-Notification macro you are defining is for the chg object.
    2. The Workflow task you want to reference is the 4th in the list (guessing by your use of sequence 40)

    @{workflow.3.assignee.combo_name}



  • 9.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 02:58 AM

    Hi Lindsay

     

    Thank you for your reply, yes it is a Multiple Notification Macro that is defined on the 'Change Order Workflow Task' Object, this Multiple Notification is then added to the 'Pending' action of the workflow task. The aim is to show via email to the person who needs to approve that 2 tasks further down do have an Assignee or group assigned and they can approve. (EXTRA Info, some of our Approvers are frequently on the road, we present them with a button in the email to approve, this sends an email to PAM to action that their accordingly.)

     

    I tested the following without success on the 'Change Order Workflow Task' object

    @{workflow.3.assignee.combo_name}

    @{3.assignee.combo_name}

    @{sequence.3.assignee.combo_name}

    @{task.3.assignee.combo_name}

     

    I also tested @{workflow.3.assignee.combo_name} on the 'Change Order' object  ... but this did not work either.

     

    Thank you 

     

    Kind regards

    Jacques



  • 10.  Re: SDM Classic Workflow Email message
    Best Answer

    Posted Aug 24, 2017 03:48 AM

    Maybe @{chg.workflow.3.assignee.combo_name} will work if you work in context of wf



  • 11.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 06:19 AM

    Hi Gutis

     

    Thank you very much , this resolved it for me.

     

    Question though ...

    Looking at this solution, you seemingly from the WF object have to go back to the chg object and then with dotted reference find your way back again to the WF object ... or is my understanding wrong?



  • 12.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 06:22 AM

    Yes exactly, since only the change contains relations with all related wf objects.



  • 13.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 06:24 AM

    Ahh ... OK, makes sense.

     

    Thank you very much



  • 14.  Re: SDM Classic Workflow Email message

    Broadcom Employee
    Posted Aug 23, 2017 03:32 PM

    Jacques, did you mean you would like to show the assignee/group for the next 2 tasks or a fixed position tasks like 4th

    and 5th ones? Thanks _Chi



  • 15.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 03:01 AM

    Hi Chi

     

    I would like to show the assignee/group for a fixed position task, however ... to show the next 2 tasks can also be useful ...

    Please note that I run this Multiple Notification from the Workflow object

     

    Thank you

    Jacques



  • 16.  Re: SDM Classic Workflow Email message

    Broadcom Employee
    Posted Aug 24, 2017 10:31 AM

    Jacques, for fixed position tasks, it seems you have it; for next 2 tasks, it is very challenging. The difficulty is, the template is pretty much static so it can't be "programed" to have variables. I can't see how we can do that in multiple

    notification. Thanks _Chi



  • 17.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 10:44 AM

    Hi Chi

     

    Thank you for the feedback. I'm happy with what I have now.

     

    Kind Regards

    Jacques



  • 18.  Re: SDM Classic Workflow Email message

    Posted Aug 24, 2017 10:45 AM

    Thanks to all involved and your assistance ... much appreciated