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.

Use System Property in Flow Designer Trigger condition

RC19
Tera Expert

I have a requirement to trigger the flow designer if incident task is assigned to certain 3 groups . I have to store those groups in system property(as per requirement) and use it in the flow designer trigger condition . Please help on how can this be possible ? 

 

I have already tried using assignment group is one of javascript: gs.getProperty('sys prop name'); in condition but it didn't work and i tried calling script include where i am returning this property value . That too didn't work . Is it even possible ? 

 

Thanks.

6 REPLIES 6

gs.getProperty() is not working in flow designer . So workaround was to use a script include function where we need to glide record to sys_properties table, query your system property and return it's sys_id . 

 

we can use javascript: new scriptIncludeName().functionName() to fetch that returned value in flow designer. 

 

If this information helped resolve your issue, please remember to mark Accept as Solution and thumbs up to help future community members on this information, thanks!

Ssinha4
Tera Contributor

Hi,

Thanks for the solution, but unfortunately it is not working for me. Can you provide some screenshots of your property and SI?

 

Thanks