Anil_G
(Anil Gorthi)
November 30, 2022, 2:28pm
21
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
Hope this helps
let me know if you have any questions
cheers
Anil_G
(Anil Gorthi)
November 30, 2022, 2:42pm
22
Hi @Rajeena_M
This is how you will set the required xaml as main
And make sure you remove the entry point from main
Hope this is clear
cheers
Rajeena_M
(Rajeena Mashnampat)
November 30, 2022, 4:01pm
23
could you pls share a sample workflow , getting confused
Rajeena_M
(Rajeena Mashnampat)
November 30, 2022, 4:02pm
24
the refs tobe invoked has its own configs as well
Anil_G
(Anil Gorthi)
November 30, 2022, 4:11pm
25
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
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 9:13am
26
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 ?
Anil_G
(Anil Gorthi)
December 7, 2022, 9:15am
27
Hi @Rajeena_M
Can you tell me what is the error that you are getting?
cheers
Anil_G
(Anil Gorthi)
December 7, 2022, 9:51am
29
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
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 10:40am
30
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
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 10:42am
31
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
Anil_G
(Anil Gorthi)
December 7, 2022, 10:44am
32
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
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 11:04am
33
another workflow, just with start job activity in it
Anil_G
(Anil Gorthi)
December 7, 2022, 11:07am
34
@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
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 11:29am
35
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
Anil_G
(Anil Gorthi)
December 7, 2022, 11:31am
36
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
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 11:35am
37
same folder and bot from Bot A on studio works fine, only when it goes OC is the issue
Anil_G
(Anil Gorthi)
December 7, 2022, 11:42am
38
@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?
Rajeena_M
(Rajeena Mashnampat)
December 7, 2022, 11:44am
39
|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