The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Owner showing as not available even though its present in the records

ServiceNow Use6
Tera Guru

Hi,

I have a scenario where i have two list collector catalog variables, Servers and Applications. Servers variable is pointing to cmdb_ci_server, while applications variable is pointing to the cmdb_ci_appl tables. Servers selection should autopopulate the Applications. It is working as expected. The requirement is once the manager of the Requested User approves, next is to get the approval from the owner of the Application (which was auto populated when i selected server) using Flow Designer. Flow is working as expected ALMOST. The flow context is showning as 

 

1.jpg

 

2.jpg

 

 

1.png

 

2.png

 

3.png

 

4.png

 

5.jpg

 

6.jpg

 

7.jpg

 

Regards

Suman P.

6 REPLIES 6

Nawal Singh
Tera Expert

Hi @ServiceNow Use6 ,

 

in you flow designer- for approval you have used  "for each item " the same issue is raised here-

https://www.servicenow.com/community/spm-forum/for-each-logic-in-flow-designer/m-p/3389349#M48696

 

for that I have suggested to test like this-

NawalSingh_0-1758713757406.png

 

Please test it your end and let us know if it's works

 

If my response is helpful please mark as helpful and accept the solution 

 

Thank you!

 

Nishant8
Giga Sage

Hello @ServiceNow Use6, your logic looks fine from the distance. The possibility I can think of is somewhere in the flow user reference is broken. could you please try to use Log action after step #8 and before 9 and print the user details to ensure you have right information there.

Aside, couple of observations from my side:

- step #8 seems extraneous in the Flow since you can dot walk to 'owned by' from the For Each data pill itself

- you seem to be generating sequential approvals (one after other) since you are iterating thru each record and generating the approval. If its intentional then please ignore my remarks else you can store all the users in a separate variable inside For Each and then use that variable in Ask For Approval after For Each loop

 

Regards,

Nishant