On Item Added: Difference between revisions
Appearance
Marek Rodak (talk | contribs) No edit summary |
Marek Rodak (talk | contribs) No edit summary |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Rules TOC}} | ||
<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]]. | ||
On Item Added rules are only available in the: '''[[Route plan| Route planning]]'''. | |||
==Example: Fill in the location of appointment created on Route Plan== | |||
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. | |||
[[File:OnItemAdded.PNG|alt=On Item Added: Fill in the location of appointment created on Route Plan rule example|600 px]] | |||
{{Feedback}} | |||
Latest revision as of 12:38, 20 November 2023
| 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 location of appointment created on Route Plan
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.
{{#CI form: title = Was this information helpful? How can we improve?
| type = inputs
| [textarea]
}}