Workflow Consistency Errors

Last update: Edit

1 Introduction

In this document, we explain how to solve complex consistency errors that can occur when configuring workflows in Mendix Studio. For more information on workflows, see Workflows.

An example of a consistency error is when you did not select a page for a new user task.

Some errors have error codes and if these errors are described in documentation, Studio has a clickable link to the corresponding document. Others do not have an error code, in this case, you can manually search whether a particular error is described in documentation (you can search by using the message text that is displayed in the Checks panel).

2 Workflow Consistency Errors

The most common yet complex errors you can come across when configuring a workflow are described in the table below:

Error Code Message in the Checks Panel Element Where the Error Occurs Cause of the Error Way to Fix
CE6685 The parameters of the selected microflow have changed, please update them in the properties. Call Microflow action When parameters of the selected microflow have been changed, for example, one more parameter was added, a parameter was deleted, or a parameter type was changed. Open the Call Microflow properties > Outcomes and click Refresh.
CE6686 The current outcomes of the call microflow activity do not match the configured microflow. Regenerate the outcomes. Call Microflow action Current outcomes set in Call Microflow properties are no longer up-to-date. This happens when changing a return value of a microflow, for example, when a return value has been changed from enumeration type to Boolean. Open the Call Microflow properties > Outcomes and click Refresh.
CE0078 Condition should be of type Boolean or enumeration but is of type {type of condition}. Decision For more information on this error, see the Properties Not Set Consistency Errors section in Microflow Consistency Errors. For more information on this error, see the Properties Not Set Consistency Errors section in Microflow Consistency Errors.
CE0079 The ‘true’ case should be configured in properties for an outgoing flow.
or
The ‘false’ case should be configured in properties for an outgoing flow.
Decision For more information on this error, see the Properties Set Incorrectly Consistency Errors section in Microflow Consistency Errors. For more information on this error, see the Properties Set Incorrectly Consistency Errors section in Microflow Consistency Errors.
CE5012 Return type of selected {Name of the microflow} should be {return type}. User Task There can be different causes for this error. In the workflow editor the cause of the error is that you have a user task and its Assign Task Using property is set to Microflow, but this microflow does not return a list of users.
For causes when it occurs on a page, see the Data Consistency Errors section in Page Consistency Errors.
Set the return value of the microflow to the list of System.Users.
The return value is set to System.Users automatically if you create a microflow though the Assign Task Using property. Do the following:
  1. Open user task properties.
  2. Make sure the Assign Task Using is set to Microflow.
  3. Click the Microflow property to select a new microflow.
  4. In the Select Microflow dialog box, click the plus icon to create a new microflow.
  5. Name the microflow and click Create.
The created microflow has parameters and the return value configured automatically. Note that setting System.Users for the existing microflow can only be done in Studio Pro.

3 Read More