How to set parameter code to orchestrator

thanks for your valuable .I don’t know how to do this and how to set value of excel file in orchestrator. I need to study on ASSETS
Let me know one thing I need to change in code or this is done from orchestrator…? Because orchestrator part done my deployment team.

1 Like

@Aditya10989
Its create on orchestrator, but to gather those it’s a development

No issue u can update those in orchestrator and give your development team to those information or

Even u can give a new user created for development team to manage those assets themself
While you can see all ASSETES you and they are creating

eg in config file we have two URL of one application

  1. UAT URL
  2. Production URL
    Now in config file if we want to run this on UAT then we put URL of UAT in config file then it work for UAT and same as production.
    Now in case of asset what I need to do…??

Fine
If they have the access to orchestrator and if they want to run whenever they require from orchestrator and can pass parameter before running then they can use INPUT and OUTPUT parameters

Or

If they don’t have the access to orchestrator then we can pass the Value as ASSET to the process

And for both the stage it is first handled in orchestrator and also inside the workflow

Like for arguments we need to have IN arguments defined in the workflow
Or
If asset we need to use GET ASSET activity to get the value from orchestrator

Cheers @Aditya10989

Thanks for reply.yes INPUT and OUTPUT parameters fine for me.Please guide me how can I use this…?
How I can pass the value in this.Which is I am using previous in excel file…?

2 Likes

Did this document help us

Cheers @Aditya10989

1 Like

Thanks for this.This same article provide by deployment team.But Still my one question is still pending. How can pass excel value in parameter.Have you any code any example I think this will work for me.!


If you have this will help for me

1 Like

Fine
Inside the workflow create arguments of IN direction
For example
In_GetFileName
In_GetSheetName

Place thee arguments in the workflow were we will be calling the config file as a dictionary for each value

Now from orchestrator we will be able to see the arguments in the JOB page and if we give the value there it will be taken inside the workflow throw those IN arguments

Cheers @Aditya10989

1 Like

thanks for help.Like this as mention in attachment.In previous I am using config file.That config file read data from excel and assign that value in variable.Now I need to put these variable in arguments and where I am reading data from excel need to delete activity mention in circle. because now that are not in use …?
As mention in attachment

1 Like

Yes exactly
@Aditya10989

Ok thanks for your help.I will check in my code and lets see what deployment team told.Thanks man for your help and saving our job.

1 Like

Cheers @Aditya10989

Hi @Palaniyappan one thing more which argument we are passing we need to pass same argument in variable panel default value.As mention in attachment

1 Like

Yah
But pass them using a assign activity and not in the variable panel

Cheers @Aditya10989

No sorry I did not understand
One is variable I created URL and one argument name i_URL
In previous using config file ie excel I am getting URL from excel where mentioned execute application for production or UAT.
Now All the code related to config file is deleted now variable are left.

1 Like

As you have passed the value for those argument from orchestrator we need to get them inside the workflow
Either use those arguments directly to pass the value or use a assign activity and get the value from those arguments to a variable and then use those variables buddy
Cheers @Aditya10989

I have a slight variant of this question. I can’t seem to override the input parameter to the Main.xaml in the REF application I’ve built at the Process Level.

I ran a quick test and the Attended process does not work if I compile and publish my package after removing the default value in the input parameter.

This works:

But this does not! Here the package is published after removing default value like so:

And then I pass in the file name as an input parameter at the Process Level as shown here (Processes > View Process > Parameters)

image

But it fails with “unable to find file” error. :frowning:

Thanks!
Andy

1 Like

Hi
—usually for attended bots if ran from robot tray it won’t be able to take the parameters from orchestrator
I think this feature is in pipeline

Cheers @AndyMenon

Hi @Palaniyappan
I have the same problem
I created 3 in_Arguments

  1. with a browser URL
  2. a Path location for saving file
  3. a name for the file
    but when im doing a"log message" and want to see those arguments inside the process (inserted the values in to the arguments inside the process page of the orchestrator) i dont get any value at all
    PLEASE HELP ME because i searched and couldn’t find any help on the subject…
1 Like

Can you have an outer process read a settings file and then pass the parameters as arguments to your actual process?

Based on the previous discussions it looks like Attended Bots running from the Robot Tray cannot accept input parameters.

Another option is to build your process using REFramework. It has the ability to put settings into a config file and pass it to your process.

Hope this helps.

1 Like