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

Hi @Rajeena_M

This is what I did and it is working. Please try the same

First REF - Included the invoke file as well in the same ref(abc is the file from where I am calling the ref1 and inner ref)


Second ref inside a folder in first ref

And then change the relative path of all the invoke workflow in the second ref
image

Hope this helps

let me know if you have any questions
cheers

Hi @Rajeena_M

This is how you will set the required xaml as main
image

And make sure you remove the entry point from main
image

Hope this is clear

cheers

could you pls share a sample workflow , getting confused :slight_smile:

the refs tobe invoked has its own configs as well

Hi @Rajeena_M

I hope I changed all or most of the paths. But the idea remains same. abc.xaml is the main workflow I even changed the entry point to it

second ref is inside the secondref folder

abcIsMain.zip (1.9 MB)

Hope this helps and gives you an idea

cheers

1 Like

on this I tried publishing both, from the first Bot A, start job activity to trigger the second Bot B.

Bot A has the persistence activity, after resuming, it satrts the Bot B.

when i try from Bot A from orchestrator, its creating the task, resuming after the task is done, failing at triggering the BOt B.

Tried running Bot A from the local system and that triggered Bot B on Orchestrator without failing.

any idea why is it like that ?

Hi @Rajeena_M

Can you tell me what is the error that you are getting?

cheers

Hi @Rajeena_M

It looks like the serialization issue again…Can you try moving the start job activity to a different workflow and try invoking it or have that outside the wait job sequence

cheers

oh yeah i was trying that too, start job activity itseff was giving error , that its not able to access th efolder or dont have permission. I was connected to the folder where the job was in though

but the thing is the issuenis only when trying from OC , from studio if I start Bot A , Bot B is getting triggered without any issue

After Bot A the files are in the Bucket , |Bot B is taking that

Hi @Rajeena_M

Just to confirm so if you move it to another workflow or outside the sequence is it throwing that the folder is not accessible?

can you show the error?

cheers

image

another workflow, just with start job activity in it

@Rajeena_M

When you move are you seeing this in studio as well?

Are you passing any folder path…Because there is no link between any activity to start job

cheers

Have not published this one yet .
this is giving error on studio, folfer path has the name of the folder where the process is , also when running this code the studio is connected to this folder

Hi @Rajeena_M

Are you able to execute the same start job with same folder path from studio? if not the folder path provided might be wrong

cheers

same folder and bot from Bot A on studio works fine, only when it goes OC is the issue

@Rajeena_M

May I know if you are using classic or modern folders?

and is BOT A and BOT B under same folder?

And the exception that you have shown previously is from the studio output panel right?

|Modern and both bots are in the same folder
the error with not able to access is from studio
other screen shot is from OC , when starting Bot A

resolevd the issue :slight_smile:

1 Like