Actions - Wait for Form task and Resume // The calling thread cannot access this object because a different thread owns it

I’ve created a workflow that receives data from a form I designed using Forms. If the data contains prices exceeding a certain amount, I generate a form task for the ‘Action Center.’ The task undergoes a check and approval process. However, during the job, I encounter the following error message:

System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
   at System.Windows.Threading.Dispatcher.VerifyAccess

It appears that downgrading the packages UiPath.Studio.Forms to version 23.4.6 and UiPath.System.Activities to 23.4.5 resolves the issue.

Is there any way to address this error while using the latest versions to comply with guidelines?

@MWB

Latest form activities are having few know bugs this might be one as well…

We found other bugs related to not able to pass values etc…so better use a stable version than the latest

Cheers

1 Like