Error in Wait for Form Task and Resume activity

Hello, I am getting above error in “Wait for Form Task and Resume” activity. But if i add breakpoint in “Wait for Form Task and Resume activity” and complete my task in action center and click continue then everything will work fine… but if I don’t add breakpoint then after creating task in action center I am getting this error. Please help

Hi @RpaNoobMax

Welcome to Community,

Can you please help to attach a screenshot of the wait for Resume Activity and also the properties of it.

Thanks

thanks for response. SFtask contains output Task object from “create task form activity”

@RpaNoobMax

Did you try to execute the process in Run Mode and also in Debug mode?

thanks.

yes run mode gives above error. but where as in debug mode and after giving breakpoint to “Wait for FormTask and Resume activity” and complete my task in Action center then if i click continue means everything work fine.

if i dont complete my task in action center and instead click continue button… same error appears.

Hi @RpaNoobMax

In project settings please make sure if “Support Persistence” is enabled.

image

Thanks.

yes. its enabled I have attached my workflow please look into it.

Thanks

Hi @RpaNoobMax

Instead of Assigning the “sfTask” to an argument called “inputSFTask”

image

Delete the Assign and the In Argument “inputSFTask” and Try Passing the “sfTask” directly as the Input of “Wait for Form Task and Resume”

image

Please try and let me know,

Thanks.

I tried this now and again same error came… :smiling_face_with_tear:

Please have a look,

Getting error in wait for form task and resume activity - Help / Action Center - UiPath Community Forum

Hope this might help,

Thanks.

yeah. I have seen this before. and i implemented it same as him still no luck

Hi @RpaNoobMax ,

Have you Checked the Below docs which specifies the Best Practices for a Long Running Process :

Let us know what are the variable types being used in the Workflow.

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