When trying to Invoke a Ref process from a flowchart workflow, "Could not find part of the path '....../GetTransactiondata.xaml' error

Hi everyone
I am trying to invoke a Ref process from a flowchart(abc) ,
throwing the error
Could not find part of the path ‘abc/GetTransactionData.xaml’
Thanks
Rajeena

Hi @Rajeena_M

Can you check the path of Gettransactiondata . I guess the path you provided is wrong

Generally it is in the framework folder unless you moved it

Use this to select the file

image

cheers

I have invoked the main of invoked workflow
image

Hi @Rajeena_M

Where did you create a flowchart? and why do you want to run the ref from flowchart again?

If flowchart in a different process and ref in a different process?

cheers

In the flowchart i have done the input file amnipulation , then actual data entry with exception handling is in the ReF , hence invoking the Data entry process(Ref) from a flow chart

@Rajeena_M

Where is your flowchart xaml?

You have to palce it in the same folder as the ref is there

cheers

HI @Rajeena_M

Where is your XAML? Whether it is in Project location?

If Yes Just Drag the activity GetTransactionData.XAML file to Flow

Regards
Gokul

both not in the same folder ,
but gave the full path of the process to be invoked

Hi @Rajeena_M

Currently I believe it does not work like that. You have to have the flowchart also in the same process folder as the REF folder

cheers

so we did the data entry Ref first , which had the input file as well.
now trying to splitting , 1- get the input file then invoke the dataentry ref in the .xaml.

Hi @Rajeena_M

You need to use a start job to start the next part after the first process. Invoke workflow may not work in this scenario

cheers

ok , will look into that , Thanks

1 Like

Hi @Rajeena_M

Another way would be to move your starting flow also into ref and then use it by changing the entry point to the flowchart that youa re building in the project.json file

cheers

I need to invoke two processes both in Ref one after another, thats the reason for invoking it from another xaml

actually speaking the the bot is throwing the error themoment I run . I have only reading the input file and some logs in the main flowchart before invoking the ReF . nothing is getting executed

Hi @Rajeena_M

then try keeping one ref under another and check if that works for you…

that is create a folder under one ref and place the second ref inside that

If that is not your case then you have to go with start process

The bot will fail because while validating it would not find the xamls as per its validation

cheers

@Rajeena_M

I tried doing the exact same thing that you want and it is the same error

cheers

yup , tried moving the Ref in to the parent project folder , still same error.
Also the bot is looking for the gettransactiondate.xaml in the parentfolder.

@Rajeena_M

Did you edit the entry point in the project.json?

Else use start process only

cheers

How to edit the entryppoint in Json ? have never done that