How to include workflow event parameters in notification message

Ziad Qadora
Kilo Sage

Hello,

I'm trying to get a notification sent from a workflow via firing an event.  I'm passing two parameters from the catalog item in the event trigger.  I'm trying to include the parameters in the notification, but it is not working and the parameters are not showing in the notification. 

Below images shows what I'm doing, please let me know what I need to modify to be able to include the parameters in the notification message.

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

Regards,

Ziad

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

Since the variable in your parm1 is a reference field, you probably want to send the display value?

Please use this in your workflow event activity for the parm1:

current.variables.file_share.getDisplayValue();

Now see if it's properly showing the display label for the file_share selection, instead of the RITM (it may have been showing the ritm due to sys_id coming across...possibly?

Otherwise, please check your event log for that event and see what the parm1 and parm2 is...is that correct?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

5 REPLIES 5

Prasad Dhumal
Mega Sage
Mega Sage

Try using this:

${event.parm1}

${event.parm2}

Hi @Prasad Dhumal ,

 

Thank you for the info, I have tried that and below is the message that was generated

 

"Your have been granted read access to RITM0027609"

 

 Please see my update below.

 

find_real_file.png

 

 

Regards,

 

Ziad

Hello,

Isn't that what you wanted or is there still an issue?

My apologies, not too sure by your response if that was a good result or not, haha.

Please mark reply as Helpful, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi @Allen A ,

 

My expected result that the message would look like 

 

"Your have been granted read access to XYZ" where XYZ is the values in Parameter 1.

 

Instead it shows the RITM number.

 

Regards,

Ziad