How to publish different workflow in 2 process

basically i have 2 workflow : main.xml and main2.xml in the same process, screenshot :
image

how can i publish it separately ?

because i want to run both in UiPath assistant, the main2.xml first and then the main.xml

@mdaffakhairy,

I would suggest to have single main workflow. Add an argument to Main workflow to decide which logic to execute. In Main workflow use if else condition to check argument value and execute the sub workflows accordingly.

You can pass the argument while triggering the process from Assistant or Orchestrator as well.

Maintaining two processes would be confusing here.

Thanks,
Ashok :slight_smile:

@mdaffakhairy

check this thread

Hi @mdaffakhairy

There are 2methods to acheive your goal:

1st method:
->You should use only one main and please invoke the xaml’s from that main.
->First invoke the main2.xaml and then invoke the main1.xaml in the main.xaml so that the main2 will execute first and then it goes to execute the main1.

2nd method:
->you can use the ignore from publish option which will be available when you give the right click on the xaml from the project panel as shown in below image.

->So, by selecting the ignoe from publish option the man1.xaml then that xaml will be not considering while you publish and later you do the same for the main2.xaml and don’t forget to select the set as publish option for the main1.xaml. So, by doing in this way also you can publish the codes seperately.

Regards

Yes i use the second solution, by clicking right and choosing ignore publish one of the workflow and then try to switch the main xml so i can ignore the other one

Thankyou

You’re welcome @mdaffakhairy

Happy Automation !!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.