Jump to content

On Item Added: Difference between revisions

From Resco's Wiki
Marek Rodak (talk | contribs)
No edit summary
 
Line 10: Line 10:
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.
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]]
[[File:OnItemAdded.PNG|alt=On Item Added: Fill in the location of appointment created on Route Plan rule example|600 px]]





Latest revision as of 12:38, 20 November 2023

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.

On Item Added: Fill in the location of appointment created on Route Plan rule example




{{#CI form: title = Was this information helpful? How can we improve? | type = inputs | [textarea] }}