Invoke GetDate Workflow

I am at the main workflow and I invoke a GetData workflow. I then click on Import Arguments and enter in expression “SetVar: dt_UserData”. When I click OK, I see the error message “Argument Value: Compiler error(s) encountered processing expression “Set Var: dt_UserData”. Expression expected”

How to fix this

1 Like

Hey @Herman_Yong

Could you please post a screenshot please ?

Thanks
#nK

Hello @Herman_Yong ,

In the invoked workflow is there any argument declared?? Then in the import you will able to see that argument.

For eg: argument | direction| value

argument as direction should have auto populated if you declared the argument and you just need to provide the value in the Import argument stage.

UiPath - Variables and Arguments |How to pass values between Variables & Arguments?|Practical Demo

You don’t put “setVar” in there just put the variable name.