Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to write script in flow designer.

chandan31
Tera Contributor

var ab= fd_data.trigger.current.subject_person;

var number = fd_data.trigger.current.sys_id;

var cd= fd_data.trigger.current.subject_person.manager;

var url = '<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=ticket&is_new_order=true&table=sn_hr_core_case_workforce_admin&sys_id>' + number + '</a>'

 

var test="Dear" +ab +<br>+cd "has requested Long Term Care Leave. Review this request and select one of the options below and click Mark as complete. You can review the request by clicking '[code]'+url+'[code]'. In the tab 'Additional Details' you can find the content of the request. Under the tab 'Attachment' you can find uploaded documents, in case documents have been uploaded";

 

return test;

chandan31_0-1705935525031.png

@asifnoor : please help sir

0 REPLIES 0