Skip to main content

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?

Hi @WilsonX 

What do you mean by “...lock the screens to be presented ...”?

Cheers!


Please also mention whether this is FSM Mobile or MWO.


in FSM Mobile, the field technician is unable to advance to the screens in the task, follow the workflow, according to the status.


@WilsonX 

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!


@WilsonX if i understood your question properly, you can restrict the debrief workflow of the FSM Mobile task screen by setting the FSM app param ‘DEBRIEF_ALLOWED_STATUSES’.

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.


@WilsonX if i understood your question properly, you can restrict the debrief workflow of the FSM Mobile task screen by setting the FSM app param ‘DEBRIEF_ALLOWED_STATUSES’.

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!


Reply