URGENT PLEASE!! Flow Designer - If Condition issues

Adil N
Tera Expert

Hi Please see all my screenshots below. 

 

to summarise what im trying to do is create a workflow that will automatically assign an SCTask created on the back of a RITM to an assignment group based on the location field selected by the requestor. So for example If location is England, France or Germany then assignment group will be Europe, if the location is Mexico, Canada, Brazil it will be assignment Group Americas 

 

the flow for some reason below does not work can you help me identify the issues please 

1 ACCEPTED SOLUTION

@Adil N If you do have a large number of locations, that is even more of a reason to use Decision Tables. The UI for creating a decision table is very easy to pick up, and it is quicker to add your logic to the table than it is to build out a long or complex set of if statements.

 

Regardless of whether you if statements or Decision Table, be sure to get a good understanding of the data structure and hierarchy in the Location table (assuming that your variable is a choice reference that pulls locations from that table). There are logical geographic groupings here that you can leverage, and instead of calling out the individual locations, it would be easier to dot-walk to a common field (such as region).

 

Even in times of rushed development, you should always set a strong foundation for future extensibility. You never know how long your solution will be in place, nor the next time that you will have a chance to update it.

View solution in original post

15 REPLIES 15

Bert_c1
Kilo Patron

please add screen shots using the 'Camera' icon here.

Screenshot 2024-10-24 164155.png

Flow.JPGDetail result.JPGResult of Test.JPGRun Test on workflow once SCTask is created.JPGAssignment group still blank.JPGLocation in SCTask.JPG

BillMartin
Mega Sage

Please watch my flow designer course. Hope it helps

ServiceNow Flow Designer: A Practical Guide for Admins and Developers

 

 

 

Adil N
Tera Expert

SS of fulfillment method that creates the SCTASK.JPG

@Community Alums this is the fulfillment step