Selected record from modal dialog not always loaded to screen

I have a modal dialog with RefreshAfterReturn=MergeModalDialogChanges. I select a value in the dialog and load a record based on the value in another workflow action with CloseType=CloseAndCommitWithErrors. The record isn’t always loaded into the original screen.

The service called is /internalApi/UIService/PendingChanges/{id}. The object Ids to be removed in the failed cases don’t match the Ids from the previous call.

First call, record changed
image

Second call, record didn’t change
image

Third call, record changed
image

Forth call, record didn’t change
image

This was a modelling issue. When there is a modal dialog UI action that uses input context and returns back changed data to the screen, it is necessary that the changes to the original data, if done in a transformation, are executed before the User Interface workflow step.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.