On Item Completed: Difference between revisions
Marek Rodak (talk | contribs) Created page with "{{WIP}} 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 Completed rules''' ar..." |
Marek Rodak (talk | contribs) No edit summary |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Rules TOC}} | ||
<span style="float:left; padding-right:10px">[[File:On item completed 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 Completed rules''' are executed when a user marks an appointment as completed. This can be used to perform some finishing touches on the appointment about to be closed. You can also use it to validate the appointment before closing. If validation fails, completion can be canceled, and a custom error message can be displayed to the user. 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 Completed rules''' are executed when a user marks an appointment as completed. This can be used to perform some finishing touches on the appointment about to be closed. You can also use it to validate the appointment before closing. If validation fails, completion can be canceled, and a custom error message can be displayed to the user. Rules are managed using the [[rules editor]], usually in [[Woodford]]. | ||
On Item Completed | On Item Completed rules are only available in the: '''[[Route plan| Route planning]]'''. | ||
==Example: Check if the appointment was finished on time== | |||
When executed, the Actual End field is set to current time. If the Actual End is On or After the End Time (planned end time of appointment), fill in the description of the appointment with text. | |||
[[File:OnItemCompleted.PNG|alt=On Item Completed: Check if the appointment was finished on time rule example|600px]] | |||
{{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 Completed rules are executed when a user marks an appointment as completed. This can be used to perform some finishing touches on the appointment about to be closed. You can also use it to validate the appointment before closing. If validation fails, completion can be canceled, and a custom error message can be displayed to the user. Rules are managed using the rules editor, usually in Woodford.
On Item Completed rules are only available in the: Route planning.
Example: Check if the appointment was finished on time
When executed, the Actual End field is set to current time. If the Actual End is On or After the End Time (planned end time of appointment), fill in the description of the appointment with text.
{{#CI form: title = Was this information helpful? How can we improve?
| type = inputs
| [textarea]
}}