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 populate assignment group using Flow Designer f(x) script?

Erica2
Tera Contributor

Hi,

I need help on how to populate assignment group based on user select dropdown variable value that contains pacific word using Flow Designer f(x) script.

This is what I have, but it did not work.  Can someone please provide suggestion.  Thank you

find_real_file.png

1 ACCEPTED SOLUTION

-O-
Kilo Patron

If using Flow anyway, why not use Decision Tables? You can then create a completely code free solution.

Define the decision table that accepts a text input to use in the condition:

find_real_file.png

AAnd the condition:

find_real_file.pngThen use it in the flow:

find_real_file.png

Using a Catalog Item variable as below:

find_real_file.png

And finally update the assignment group:

find_real_file.png

View solution in original post

25 REPLIES 25

to check log, you need to go to log table and search with that string which i mentioned in log.

@Harshvardhan 

Is this the log table?  syslog.list

If that is the case, which column should I search for?

find_real_file.png 

in the message column search with the log string, 

eg: Apply filter on log table like below

 

message | contains | index of check

or

message | contains | Value inside if

@Harshvardhan 

I have learned something new today from you.  Thank you so much for showing that.

It never made to the log.

find_real_file.png

Did you executed your flow before checking the logs?

May i know how are you testing it?

if flow has executed then you should see the flow execution result to check either flow has executed without any error or not.