How can I add comment as I trigger approval from workflow?

Paul125
Kilo Guru

Hello,

I have more than 10 approvals that goes to different users and groups. These requests generated as user selects variables, in this case I am trying to add comments to the approval form to let user know what he is trying to approve. Please let me know if there is any way to add comments or have a description field. Thanks!

1 ACCEPTED SOLUTION

Paul125
Kilo Guru

Thanks for the reply Bryan. I found a way to add a comment/activities by gliding approval table. To achieve this, I've created a run-script activity right after the approval activity. Once the approval request in place, my script run, look for current item's request and add a comment to let approval user know some information. Do you think this process affect anything or not a best practice to do? Thanks! 

Note: This is only related to one particular Catalog Item.

View solution in original post

6 REPLIES 6

r_t_bryan
Kilo Expert

Is it not slight overkill to move the information into the approval form when the information can be easily accessed from the OOTB Approving field. I'm not saying it can't be done, I am just questioning the requirement behind it. Adding further config to your instance moves it away from OOTB and causes complexity when upgrading.

Paul125
Kilo Guru

Thanks for the reply Bryan. I found a way to add a comment/activities by gliding approval table. To achieve this, I've created a run-script activity right after the approval activity. Once the approval request in place, my script run, look for current item's request and add a comment to let approval user know some information. Do you think this process affect anything or not a best practice to do? Thanks! 

Note: This is only related to one particular Catalog Item.

I don't think it'll affect anything, just seems a bit too much, but hey, it's your show really. You can do as you please. If it works for you, then go for it! If it's just for this one item then it should even more so be ok.

Glad you figured it out!

Please mark Helpful/Correct, if applicable. Thanks!


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

Hi Paul,

 

I need the same functionality, so could you please help with the script you have written in Runscript please.