FAQs

Find the answer to your ‘How to’ questions here.

Assigning Default Values / Answers to Custom Workflow Questions

Last Updated: Friday, June 17th 2022


Having set up some questions on your workflow you can make the answer boxes default to values if required.... 

 

@@job/attribute/SignName Personnel Name (e.g. Engineer / Driver)
@@job/column/notes    This will pull through the notes entered when creating the job
@@job/attribute/JQ-{external reference of the job question] This will pull through the value from a job question
@@personnel/question/{external ref of field} Value from custom question in personnel (Entity Question)
@@customer/question/{external ref of field}  
@@site/question/{external ref of field}  
@@contact/question/{external ref of field}  
@@job/attribute/travel-from-left
 These two will allow you to record time to next destination within the main workflow (and make it mandatory if reqd) rather than asking at the end of the job (which is optional)
@@job/attribute/travel-from-arrived
 
@@cmd/calendar/now
Todays date / time
@@cmd/calendar/edit/+ 6 months

This example sets a date field to 6 months on from current date

@@cmd/calendar/edit/+ 6 months, - 1 day, and so on

You need to make sure each change is separated by a comma and a space: (", ") otherwise the code wont be able to split it out and will get confused. It doesn't matter if you specify "day" or "days" as it will do the same thing anyway.

@@job/attribute/mileage
Typically used with a Numeric Textbox question on arrival tab to record mileage to site.  Using this default value setting will also make this appear on the Time Review page if enabled.
@@job/attribute/total-mileage
Use this on a numeric textbox on the Time Review tab and it will auto-total the mileages as per above
@@job/attribute/mode-of-transport
@@job/attribute/starttravel
@@job/attribute/endtravel
@@job/attribute/startwork
@@job/attribute/endwork
If used with a date/time question, the value filled in will set the date complete column on Motivity jobs
@@job/attribute/onhold-date
@@job/attribute/onhold-arrived-date
@@job/attribute/travel-from-left
@@job/attribute/travel-from-arrived
@@job/attribute/noaccess-date
@@job/attribute/noaccess-arrived-date
@@system/unique_question_number_value
 
Use this to generate a unique number - e.g for a certificate.
You need to add a system_data question (which is hidden on the app) and set the default value to be @@system/unique_question_number_value.
There is a system setting "Unique Question Number Value" that you can use to set or alter the next number used.
CHSSwiftGDTUK GreetingsAir OptionsAquaidConceptNoreasterEntryTodd