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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,100)