cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Sharepoint fields across parralel branch

Hi,

 

I've got a situation where I'm trying to send a reminder if a leave request is not approved after 3 days. I'm using a parralel branch and a 3 day delay then checking if the sharepoint approval field is still in pending.

 

I'm having issues where the approvers are getting follow up emails even if the sharepoint field is set to approved. Does the parralel branch have awareness of if a sharepoint field is changed on the other side of the parralel branch?

 

rowanpeek_0-1607985043518.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

The problem is that unless you do another Get Item you are reading the information that was retrieved when you did the original get item.  That's why it doesn't update.  It is not because its a parallel branch.  The key to doing this is to create a variable to hold the approval state.  Then when its approved set the variable and test the state of the variable in the other branch.  The variable is global so the value will be there when you look for it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Pstork1
Dual Super User
Dual Super User

The problem is that unless you do another Get Item you are reading the information that was retrieved when you did the original get item.  That's why it doesn't update.  It is not because its a parallel branch.  The key to doing this is to create a variable to hold the approval state.  Then when its approved set the variable and test the state of the variable in the other branch.  The variable is global so the value will be there when you look for it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Anonymous
Not applicable

Thanks I've deployed this and done a test and it seems to work.

askondo
Community Support
Community Support

@Pstork1 Thank you for always answering the forum. Please continue to help us keep the forum active.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,685)