menu

WebPlatform Documentation

WorkItem AutoComplete

download

WorkItem AutoComplete

There are WMS processes that have been setup to synchronise with systems outside of the WebPlatform. WorkItems within these processes can autocomplete when all required information has been provided by a 3rd party system.

In simple terms…

Autocomplete brings harmony to processes that are setup to communicate with external systems.

In this overview diagram Processes are moving into different stages without human intervention (no one is actually clicking “complete” in WMS).

To Configure a WorkItem’s AutoComplete Criteria

Autocomplete requires a set of conditions to be configured on a per WorkItem basis.

This is done in process designer.

What you need to know

Process design considerations & implications

AutoComplete WorkItems must include transition fields

WorkItems that precede transitions must include the field that triggers the transition.

If the field is not included on the WorkItem form, then the WorkItem will not Autocomplete (meaning, it will stay indefinitely in the current WorkItem).

All WorkItems running in parallel directly before a transition must include the transition field.

Multiple conditions for a single field

Setting a field with a condition of ‘Populated’ means any value that has been given to the field will be accepted.

However, you can also setup multiple specific values.

If one of the specific values matches the answer to the field, then the WorkItem will Autocomplete.

Similar to IF this OR that DO this.

Manual WorkItem updates do not autocomplete upon save

Autocomplete will not trigger when a user manually updates a WorkItem.

This means that Autocomplete enabled WorkItems have 2 ways to be completed:

  • The process is updated from an external source – When the WorkItem conditions are met, the Autocomplete functionality will trigger.
  • A user has made a manual change to the WorkItem – The user must manually click the complete button as normal. Saving manual changes will not trigger the Autocomplete.

One final thing…

You must test your process thoroughly to confirm that the configuration you have added to all WorkItems is behaving exactly as expected.

Remember, we all make mistakes…

See how autocomplete works

AutoComplete using Minion Code

Minion code is used to integrate multiple systems and exchange information/data between these systems via webhooks.

Autocomplete can be used in conjunction with process minions.

External systems that update processes via minions will trigger Autocomplete when all conditions have been met.

All of this happens in the background.

To set up minions, start with with setting up a new API Key

Click on 'Show API URL's' to see all API's for the process

Click 'New Minion' to set up the minion code as per your requirements

Configure authentication type for the minion

  • Click OK to save your settings

AutoComplete using Data Sync

Processes that are synchronised with Salesforce via DataSync can be automated with Autocomplete.

E.g. As a lead progresses in Salesforce, its state is reflected in WMS by the current active WorkItem.

Autocomplete eliminates the need to manually progress the lead in WMS => WMS mirrors Salesforce with no human interaction. 

All of this happens in the background.

help_outline
close