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}} {{WIP}} | ||
{{WIP}} | |||
<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> | ||
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]]. | 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]]. | ||
Revision as of 10:12, 4 November 2022
| Rules and examples |
|---|
|
| Warning | Work in progress! We are in the process of updating the information on this page. Subject to change. |
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.