
Announcements
HI Everyone,
After reviewing numerous threads with similar issues, I still cannot figure out my flow.
Essentially, this is what I am trying to create:
Trigger: When a new item is created in Request for Assistance (RFA)
Check to see if the case number of the new item exists in Case Management List (CML)
If it does, do nothing. If it doesn't, create new item in CML
Sounds simple, right? Well it's not working for me for some reason. Here is my current flow set up:
Where numRFA = length(outputs('Get_items_from_RFA')?['body/value'])
The flow says it succeeded but then doesn't create any items in the CML. Any help would be greatly appreciated!
Thank you!
Hi @Masonf2265
You are nearly there. So here in that compose you are checking the total number of records which is great. Ideally in your if condition check 0 (zero) instead of 1. One means record exists. So check zero and under the Yes condition add the Create Item action step and map the values from the trigger() step (Request for assistance). Also delete all the current actions steps from the NO branch.