cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dlprentice
Resolver II
Resolver II

How do I make these two actions run even if the "Create item" part fails?

Hello,

 

How do I make the "Mark as read or unread (V2)", and "Move email (V2)" execute even if Create item has failed?

 

If Create Item fails I don't want "Send an email (V2)" to run. As it is setup right now, that works. However I always want the email to be marked as read and moved.

 

Screenshot 2020-11-06 194739.png

 

Your help is appreciated,

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
dlprentice
Resolver II
Resolver II

@PURNA429 

 

I appreciate your response, but I took a bit of a simpler approach.

Screenshot 2020-11-09 090809.png

 

Screenshot 2020-11-09 090859.png

View solution in original post

2 REPLIES 2
PURNA429
Resolver II
Resolver II

Hi @dlprentice ,

You can use "Scope" action like try catch finally blocks. Here is a sample image with TRY CATCH blocks. But in your case one more block called finally. ( I mentioned steps below )

 

TryCatch_UsingScopes.png

1) Add a Scope block and name it as "TRY".

2) Add Create List Item inside TRY Block

3) Add another Scope block and name it as "CATCH"

4) Keep your Send email inside CATCH block

5) Set the CATCH block to run only when it "has failed"

6) Add another Scope block and name it "FINALLY"

7) Add your "Mark as read or unred" and "Move email" in this finally block

8] Set this Finally block to run always ( check all options like is successful, has failed, is skipped, has timed out ).

 

If I answered your question, please mark this question as answered and if you liked my response, please give a thumbs up .

 

Thanks

Purna

Blog

dlprentice
Resolver II
Resolver II

@PURNA429 

 

I appreciate your response, but I took a bit of a simpler approach.

Screenshot 2020-11-09 090809.png

 

Screenshot 2020-11-09 090859.png

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (34,136)