cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FSM - How to setup a default value for Effort Type (task)

0 Likes
1,366

Hello,

We want to setup a default value for the effort type field in the mobile application (to “Standard Service”), so that the technician doesn´t have to select it every time.

We have tested the follow possibilities in the Screen Configuration - Screen for Effort Details on Mobile Apps (iOS / Android / Windows:

• Default Value (with Task, id.Task and/or Task.code)

• Default Value expression (with Task, id.Task and/or Task.code)


We have analised also other possibilities like company settings but we didn´t succeed.


Can you please help and tell how to setup a default value for the effort type field in the mobile application?


Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

r_barabas
Product and Topic Expert
Product and Topic Expert

Hi António

You can solve this by changing the permissions. Use the Admin tool to open the user group. Change the permission for TIMETASK objects to READ=NONE and VISIBLE=FALSE.

As a result, the mobile apps will not ask the user to pick a task, and the task information will just be missing from the generated TimeEffort objects. Of course you could add automated jobs to have a task added programmatically, either in FSM by using Business Rules or later in the backend.

So screen configuration is not required to achieve what you need.

Best regards

Raphael Barabas

Answers (2)

Answers (2)

KrzysztofSzalach
Product and Topic Expert
Product and Topic Expert

Hello antonio_m_ferreira73! Setting 'task' is not supported in any platform you mentioned. This is because that field is bound with some additional logic and setting it from screen configuration might have unpredicted behavior and break app logic rules which are used on that field. In general, defaultValue from screen configuration might be applied only on primitive type field: text, date, number, boolean.

0 Likes

Thank you all for your inputs.

Best regards,