Skip to main content
Question

FSM Mobile - Change order Task Status (task status flow)


Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 48 replies

Hi All,

Is it possible to change the order of the task status (Task Status Flow) in FSM mobile?

 

 

3 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1147 replies
  • July 4, 2024

Hi @drooij 

You can try updating the sync rule and include an ‘order_by’ tag.

Then order by a user_def field.

For example, user_def1 will have values of 1,2,3…..

<hierarchy_select return_only_requested_attrs="true" max_rows="50000">
  <primary_table>TASK_STATUS</primary_table>
  <from>
    <table>TASK_STATUS</table>
  </from>
  <attrs>
    <attr>TASK_STATUS.ACTIVE</attr>
    <attr>TASK_STATUS.DESCRIPTION</attr>
    <attr>TASK_STATUS.DESC_MESSAGE_ID</attr>
    <attr>TASK_STATUS.STATUS</attr>
    <attr>TASK_STATUS.TASK_STATUS</attr>
    <attr>TASK_STATUS.IMAGE_ID</attr>
    <attr>TASK_STATUS.USER_DEF1</attr>
  </attrs>
  <where>
    <data_constraint>
      <constraint>
        <left_operand>TASK_STATUS.ACTIVE</left_operand>
        <operator>EQ</operator>
        <right_operand>Y</right_operand>
      </constraint>
    </data_constraint>
  </where>
  <order_by>
    <asc>task_status.user_def1</asc>
  </order_by>
</hierarchy_select>

Let me know if that works.

Cheers!


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 48 replies
  • July 8, 2024

Hi @Shneor Cheshin unfortunatel that didn’t work. It’s based on the Message Id or Description field on Task Status (code table)


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1147 replies
  • July 10, 2024

Hi @drooij 

The next best option I can think of is a custom screen for status updates.

Cheers!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings