Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Clicking on 'Set Properties' in the Workflow designer fails after entity form customization


View products that this article applies to.

Symptom

After customizing the main form of a CDS entity that is used in a Workflow, clicking on ‘Set Properties’ on one of this entity's steps(e.g. Create, Update etc.) results in the associated window failing to load.

↑ Back to the top


Cause

The Workflow designer leverages the Dynamics form infrastructure to load the UI that is observed when working with entity steps. An example is a workflow that has an update step. When ‘Set Properties’ is invoked, the form that loads is the default main form for that entity. If this main form has been customized and that customization results in an invalid form for any reason, it will result in this issue.

One thing to note is that as opposed to the form designer that displays only the fields that are present on the form, the Workflow designer loads an entity form in its entirety with all of the fields present.

↑ Back to the top


Resolution

There are a few workarounds listed below to unblock this scenario 

  1. If the form customization is known(e.g. an IFrame control on the entity’s main form that points to an invalid URL), fixing it and then saving and publishing the form will rectify the problem.
  2. Removing the customization from the form if not required is another option.
  3. If the exact customization is unknown, the following approach should help à
    • Create a new main form for the relevant entity(e.g. if the Workflow is on the Account entity, this would be a new main form for Account).
    • Remove all fields from this new main form except any required fields and set it as the default main form
    • The Workflow designer should now load the 'Set Properties' window successfully.
    • At this point you can add back the fields you require to the form one at a time to try and identify which field might be causing this error.

↑ Back to the top


Keywords: workflow, workflow designer, async workflows, sync workflows, business process, set properties, workflow step, legacy workflow, forms, main form

↑ Back to the top

Article Info
Article ID : 4523940
Revision : 9
Created on : 9/30/2019
Published on : 9/30/2019
Exists online : False
Views : 229