State of job in Orchestrator appears “successful” but the “HelloWord” message did not appeared

Hi,
If I execute my “HelloWorld” directly from UiPath Studio it works:
image
If I execute from Orchestrator I have the message “Command sent…”:
image
After that I have the state “successful” but without message “Helloworld” like above:
image
This is my xaml:
image
and package versions:
image
How can I do to have also the message in Orchestrator execution?

Hi @MariaClaudia,

Does your Main.xaml call your HelloWorld.xaml?

Hi,
I’m starting now, how can I check that?
Many thanks

Hello. Are you using Invoke Workflow activity in your Main.xaml?

Your invoke workflow activity would contain the “HelloWorld.xaml”

Hello,
I have this:
image
How can I check if my “HelloWorld” uses Invoke Workflow activity in Main.xaml?
Many thanks

Hello @MariaClaudia,

Your Main should look like:

image

Go to your Main.xaml then in the activities, search for Invoke Workflow. Then put in “HelloWorld.xaml”

Then, re-publish to Orchestrator and see if the Message Box is displayed. :slight_smile:

Hi,
My Main is empty. Can I delete it and leave only “HelloWorld”? If yes, how?:
image
image
Otherwise I have to insert this command in Main:
image
Many thanks for your helpful

Hi @MariaClaudia,

Hmm… You can set your HelloWorld.xaml as the main workflow that will be executed.

You can right-click on HelloWorld.xaml then select ‘Set as Main’:

image

Not sure if you would need to republish to Orchestrator so that the changes would reflect. But just to be safe, just republish then try running it again in Orchestrator. :slight_smile:

Hello,
I’m sorry to bothering you, I made two attemps:

  1. I setted as default “HelloWorld”, after that I published an executed my robot: nothing apperared.
  2. I setted as default “Main” I inserted and published:
    image
    image
    I restarted my job, but nothing message appeared.
    image
    What am I doing wrong?
    Thanks

Hi @MariaClaudia,

Were you able to update the process? Can you send a screenshot of your Processes in Orchestrator?

It’s ok. Happy to help! :slight_smile:

Hi,
Here my screens of processes:
image
image
image
Thanks

hi @MariaClaudia

If you look at your first screenshot, the process has the blue icon to its left meaning the process has not been “updated” to use the latest version as seen in the Package label in the Version Management. Can you try clicking the upload button on version 1.0.5 then click ‘Update’

Hopefully your version 1.0.5 has the HelloWorld.xaml as the default “main”. :slight_smile:

1 Like

Hi,
GREAT! It works now! Many thanks :slightly_smiling_face:

Hi,
I tried to set “HelloWorld” as Main, I published, It works also in this way.
Thanks again. :slightly_smiling_face:

1 Like

That’s good to hear! :slight_smile: