We created a process flow which updates installed items. This is working well but we noticed that the change is only visible in Mobile after the user reinitializes . If the installed item is changed in Backoffice, the change is visible in Mobile almost immediately. The item.last_change_date field is is updating automatically in both cases. Is there a trick to getting the process flow change to download to Mobile?
Changes made by Process Flow are not downloading to Mobile like when the item is changed in back-office
Best answer by Andrew D'Antonio
Installed Item dispatches only occur when items are added, deleted, or a subset of standard fields are changed. To work around this limitation, we added the following section to the API so that when the item is updated via Process Flow, a forced dispatch occurs:
<root xmlns:dt="urn:schemas-microsoft-com:datatypes">
<session email="" alias="">
<state bc_name="item_installed" use_cache_refresh="False" is_retry_on_optimistic_error="true" max_retry_on_optimistic_error="50">
<action name="data">
<main>
<row number="1">
<item_id in_var="" out_var="">{item_id}</item_id>
<cst_phase in_var="" out_var="">{new_item_phase}</cst_phase>
<cc_mobile_item_event>AddItem</cc_mobile_item_event>
</row>
</main>
</action>
</state>
</session>
</root>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.