On Item Added: Difference between revisions
Appearance
Marek Rodak (talk | contribs) No edit summary |
Marek Rodak (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{Rules TOC | {{Rules TOC}} | ||
<span style="float:left; padding-right:10px">[[File:On item added icon.png|100 px]]</span> | <span style="float:left; padding-right:10px">[[File:On item added icon.png|100 px]]</span> | ||
Revision as of 13:36, 18 November 2022
| Rules and examples |
|---|
|
Rules are client-side scripts (no-code business logic) that are executed when a user of the mobile app interacts with the app. The On Item Added rules are executed when a user adds a new appointment on the map. Often used for initialization, if you need to set some properties for the newly created appointment. Rules are managed using the rules editor, usually in Woodford.
On Item Added rules are only available in the: Route planning.
Example: Fill in the appointment location by Route Planning
Create variable and load reference from the appointment regarding account. If the variable contains data, assign the location from the account to the appointment location field.