How to get current Flow Designer Action Context SYSID in in Script step

sandeep24
Tera Guru

How to get current Flow Designer Action Context SYSID in Script step

find_real_file.png

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Hey, 

Please try:

var sysID = FlowScriptAPI.getContextID();

Best Regards
Aman Kumar

View solution in original post

6 REPLIES 6

-Andrew-
Kilo Sage

var triggerId = current.sys_id.toString();

Hi Andrew,

Thank you for your response.


I tried this and i am getting below error


Error: Cannot read property "sys_id" from null,Detail: Cannot read property "sys_id" from null

Aman Kumar S
Kilo Patron

Hey, 

Please try:

var sysID = FlowScriptAPI.getContextID();

Best Regards
Aman Kumar

Hi Aman,

Thank you for you help