List collector approval issue

Priyanka Chaud1
Tera Contributor

I have a list collector field having 4 values in catalog item and each value has a group approval associated....So based on condition i am using for each condition after lookup records from sys_choice table and putting if conditions after for each for all 4 choices and added 'Ask for approval' for that particular choice.. But issue is its taking only first if and sending approval to first group only unlimited times and not going to next condition don't know what's the issue with it..Does anyone has any idea working on list collector for approvas for each choice ..Please help @Ankur Bawiskar @Omkar Mone 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Priyanka Chaud1 

list collector referring to which table?

Is it not going inside that IF condition? Is it not iterating?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

list collector is referring to sys_choice table so in lookup record i took sys_choice table and put condition element is 'name of element' and yes its going in If condition but only in first if condition and once approval is approved it again goes to first if and that group only for approval and that is going countless time....its not going in second if even if i am selecting all choice in list collector @Ankur Bawiskar 

@Priyanka Chaud1 

what's your business requirement?

based on choice selected you want to send different group approval?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

So the requirement is list collector is having 4 choices and all 4 choices have 1 group approval i.e 4 groups so based on selected choice group approval should be send but in list collector we can select multiple choices so if 4 choices are selected it will go to 4 groups for approval and simultanouely 3,2 or 1 so currently i have added conditions but its going to 1st choice group only for approval not triggerring others how do we implement that? @Ankur Bawiskar