Error found only in the orchestrator

I developed one Script in studio and published in orchestrator.
The script is running fine in debug mode & in studio also.
but in orchestrator it is throwing an error “Throw: Unable to process Product data. Error Details : Index was outside the bounds of the array.”
image

Can anyone help me on this topic.
Thanks in advance

Hi,

Can you share how you got Contin_Count variable? Probably it has unexpected value such as empty.

Regards,

Sometimes the script works fine and gets executed successfully, but most of the time it throws an error.

HI,

It might be caused by getting string before the value is set in the element.
For now, to isolate cause, can you try to put 3 or 4 sec Delay activity just before the GetText activity?

Regards,

1 Like

@Yoichi
Now the script works perfectly.
Until now, all of the time has been successfully completed

Thank You so much! :heart:

@Yoichi I am now getting a new error in Orchestrator.
When the script fails to run I created one workflow which will send an alert mail.
In Studio it is working fine and sending the mail as well but in Orchestrator it is throwing an error.

image

But the file is present their


Can you please help

Hi,

If the invoked file exists in same project, it’s necessary to pass not absolute path but relative path because nupkg file is extracted to %USERPROFILE%.nuget\packagename\version

Regards,

@Yoichi I used relative path now but still getting an error


Hi,

The log still shows absolute path. If we set relative path it will be c:\Users\[account name]\.nuget\package\.... , because the package will be extracted there.
Are these logs from updated process? Did you increment version number and update settings of your orchestrator?

Regards,

@Yoichi I Updated the version Now in orchestrator this error is showing

Hi,

Do you use Asset? Please check settings of activity to get Asset, especially folder name.
Does the user has right of access to the asset?

Regards,

Yes I used “Get Credentials” activity. I used folder path correctly with the proper rights.


Hi,

Can you check the user who runs UR is assigned the folder? And also check the user has right role to access to Asset?

Regards,

The issue is resolved now with the right role
Thank you so much @Yoichi