In mobile, how to lock the screens to be presented only if the status of the task is different from Open, Accepted, Enroute and Arrived?
Best answer by IniNimesK
View originalIn mobile, how to lock the screens to be presented only if the status of the task is different from Open, Accepted, Enroute and Arrived?
Best answer by IniNimesK
View originalin FSM Mobile, the field technician is unable to advance to the screens in the task, follow the workflow, according to the status.
You need to add a client script to disable the next button.
var taskStatus = getControlValue('task','task_status');
if(taskStatus == 'YourStatus')
setControlVisibility("BUTTON_NEXT", false);
else
setControlVisibility("BUTTON_NEXT", true);
Cheers!
It accepts comma separated list of allowed task status as its param value and will only allow navigation in the debrief screen only for those status mentioned in the app param.
It accepts comma separated list of allowed task status as its param value and will only allow navigation in the debrief screen only for those status mentioned in the app param.
That's right, it perfectly suits my scenario 😘
Gratitude!
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.