LisT Collector

dev_K
Tera Contributor

hi!

 

 

How can I make a decision what a task assignment group will be, depending on the options selected by user in a list collector? I need to do a check if any of the specific values was selected and then based on that create a task assigned to different groups.

 

 

Thanks!

2 REPLIES 2

Mark Manders
Mega Patron

It depends a lot on where this is being done, but for all list fields: you get comma separated values. But are these related records, or choices (because with related records, you get the sys_id's, not the values). 

You will need to do lookups: if field contains value x, create task for group a, if field contains y, create task for group b, etc. Unless you have the logic configured somewhere else, but you two-line question doesn't provide much information on the setup.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

dev_K
Tera Contributor

The catalog item itself contains a list collector that points to the question_choice table. I also use a reference qualifier to fetch in the dropdown menu only values I want.

 

dev_K_0-1723461912338.png

 

But I am not sure how to proceed with the flow. How to retrieve the values that were submitted by the user, compare them against specific values (I need to see if user selects ANY of specific options, let s say I have a list "x", "y" and "z" and if one of the values selected by users is at least one of these there is a task created for a specific assignment group).

 

Do you need more info?