Jump to content

On Item Added: Difference between revisions

From Resco's Wiki
Marek Rodak (talk | contribs)
No edit summary
Marek Rodak (talk | contribs)
No edit summary
Line 2: Line 2:
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]].


Cell Click rules are only available in the: '''[[Route plan| Route planing]]'''.
Cell Click rules are only available in the: '''[[Route plan| 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.
 
[[File:OnItemAdded.PNG|600 px]]

Revision as of 12:19, 2 November 2022

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.

Cell Click 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.