cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Daniel_
Frequent Visitor

Code execution logic in formulas

Hello.

 

I'm using Semicolon (";") as a seperator between multiple code executions.

 

Let's say I have the following formula as an example:

 

Patch( Gallery; Defaults(  Gallery ); { ItemStatus: “Added to Gallery” } );

UpdateIf( DataSource; ItemStatus = "Added to Gallery"; { Completed: Now() })

Can I always count on all the gallery items are patched to the data source, before the "UpdateIf" runs?

 

and what would happen if the patch function fails for some reason?

 

Thanks in advance,

Daniel.

1 REPLY 1
hnguy71
Helper V
Helper V

The formula will evaulate in chronological order. It will run the patch first and then chain updateif immediately following that. However, if you want them to evaulate simutaneously, the Concurrent function allows for such.

Helpful resources

Announcements
PA 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 Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

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 (52,266)