InvokingWorkflowIssue

Hi I am facing the issue, where I am invoking the Email workflow in the Main workflow.
And giving the input parameter.
But when I give the direct value and path in the Email workflow it’s working fine.
But when I invking and give their value like Config(“Path”).ToString
It’s throwing me an error.
Configuration file is working fine.
But the issue is here only when it comes to the invoking Email workflow.
image

Everything is fine even I am reading the previous workflow value also.

@Palaniyappan

1 Like

Fine
kindly check these stuffs
–check whether the excel that is the config file has a Path as name and has any value in it or not
–then check whether the config associated arguments is passed in and out correctly to the invoked workflow

if this is corrected issue will be resolved
Cheers @balkishan

1 Like

yes I given all In type bcz value will come into the Email workflow.
And yes I given the Name and value of the path like that.
But don’t understand where is the error.

Hi @balkishan

In the workflow you have the invoke activity for the mail receiving workflow, have you checked whether that workflow is getting data for the config argument? it looks like you have not passed the config data to the main workflow which you have the invoke activity in. Check it once and see how it goes?

You can easily check this by using the Debug mode. Have a break point on the invoke activity and run the process in debug mode. Then, once the execution gets to the break point, you can see what values you have in your variables. if you are unable to see it, have a break point in the very first (the main sequence) activity and run it to see. Because it is the outer most activity, it will show the argument values.

2 Likes

Yes bro I given the value while invoking the workflow.
even I invkoed the previous it’s working fine, but don’t understand where is the error.

2 Likes

if possible can i have a view on the arguments been passed to the invoke workflow activity a screenshot
Cheers @balkishan

1 Like

just like @Palaniyappan mentioned, also add a screenshot of the arguments in debug mode as well. So that we can see the actual values

Please see bro @Palaniyappan @Lahiru.Fernando

Everything is fine don’t understand what is the issue. Even I remove the empty space and done all but not worked.

If I give this parameter in the write activity same error it’s throwing me bro. As I attached the previous. below attached
image

Bro @balkishan

Can you run your workflow in debug mode, and show me the values you get for these arguments in the locale panel…

1 Like

I didn;t get any value bro. when It comes to the invoke worklfow then it thrown me this error.

it looks like in_path but above mentioned as Path
no worries
and more thing we need to mention the in_path only and not the Config(“InPath”).ToString

mention this in_Path as value in the activity
Cheers @balkishan

3 Likes

is it possible for you to share your solution so that we can have a look?

1 Like

Now it’s Path only bro. I changed it. Actually I was trying to changed the name. So it’s not an issue.

I am invoking in the Main workflow. bcz there in only In type parameter in the EmailReceving workflow.

2 Likes

may i know why we specifically talk about in_path alone
source tells like the error occured in the invoke workflow in common why not
it can be with other arguments as well
kindly check their values as well in the excel whether it has values or not
Cheers @balkishan

2 Likes

Yes exactly, But I don’t know in which arguments issue is there bro. FYI @Lahiru.Fernando @Palaniyappan

1 Like

fine before invoke workflow
mention all the values like config("…").ToString in a write line activity before to this activity and lets check whether we are getting any value or not
i think we have four arguments been passed
then use four write line and pass the input as those values in the arguments and check the value in the output panel

Cheers @balkishan

1 Like

Yes same thing I did bro. But it’s throwing me the same error message attached already. That’s I removed this Write activity.

1 Like

may i have screenshot of those writeline and the output if possible
Cheers @balkishan

2 Likes