Solved

lock the screens in status task

  • 7 March 2024
  • 6 replies
  • 41 views

Badge +4

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?

icon

Best answer by IniNimesK 11 March 2024, 04:34

View original

6 replies

Userlevel 6
Badge +26

Hi @WilsonX 

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

Cheers!

Userlevel 6
Badge +18

Please also mention whether this is FSM Mobile or MWO.

Badge +4

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

Userlevel 6
Badge +26

@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!

Badge +2

@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.

Badge +4

@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