Based on location I am creating sctask ans assign to different different groups in flow designer

Gillerla Rajesh
Tera Contributor

in catalog having location filed  based on the value in location it will Crete sctask and assign to different different types of groups  so written code in assignment group filde. Can one provide solution 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Gillerla Rajesh What type of field is location? Is it a reference to cmn_location? or it is a text field?

 

If location is a reference then you should compare the string with the name field.

if(fd_data.trigger.request_item.variables.location.name=='Hyderabad')

 

Hope this helps.

 

 

View solution in original post

5 REPLIES 5

If location value is get form sunflow means then also same way or any approach is there.