Skip to main content
Question

User Interaction Workflow trigger after a call pops error

  • December 9, 2025
  • 0 replies
  • 13 views

Forum|alt.badge.img+5

Hi,

I encountered a case and would appreciate any insights or advice.

I’m working with a user interaction workflow that displays a user task. This workflow is triggered after the “Save Order Address” event, specifically when the Delivery Address Dialog “OK” command is executed. After triggering, the workflow calls my custom API to validate the address and then updates the address again through the workflow.

Most of the time it runs smoothly, but occasionally I see two issues:

  • An error dialog appears right when the user task is displayed.

  • The Delivery Address Dialog becomes stuck after clicking “OK,” preventing the page from refreshing properly.

The error message I observed is:

SimpleDialog/10:49:55.839: message: "Cannot read properties of undefined (reading 'SimpleStruct')" stack: "TypeError: Cannot read properties of undefined (reading 'SimpleStruct')”

My current suspicion is that this stems from a timing mismatch:

  • The user interaction workflow runs asynchronously.

  • The page refresh after the “OK” command and the moment my user task dialog pops up do not always line up correctly.

This mismatch may be causing the intermittent errors. Any insight or recommendations would be greatly appreciated.