- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 07:07 AM
I've got a process which contains...
- Credentials (Background)
- Work Queues (Background)
- Environment Locking (Background)
- Utility - Environment (Background)
- Utility - File Management (Background)
- Utility - General (Background)
- My Own Object 1 (Foreground)
- My Own Object 2 (Foreground)
My objects are "Foreground", and the rest's Run Modes are "Background"
In this case, the process which uses these objects must be "Foreground", right?
This process still working like "Exclusive".
Like... When background processes are running and I tried to create a session of this process,
I got an error message that says "This RR is too busy..."
Which is not the expected result. It should be created well.
Tbh it's really hard to track and change a process' Run Mode...
Any advice? or tips?
Thanks.
Regards,
Seungjei.
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:24 AM
Therefore here are my easy-to-understand lines for run modes.
1) Foreground = 1 Foreground, Any Background, No Exclusive.
2) Background = 1 Foreground, Any Background, No Exclusive.
3) Exclusive = 1 Exclusive, No Background, No Foreground.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 07:44 AM
So can you check the objects run mode for the other process which you're trying to run simultaneously?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 07:52 AM
Hi @Tejaskumar_Darji,
Thank you for your response.
Blue Prism Document says....
"The Run Mode of a process is determined by the most restrictive run mode of each of the business objects that it uses."
(If a process uses only "Background" and "Foreground" objects, the process must have "Foreground" Run Mode as I understand.)
and here are three type of Run Modes...
- An exclusive process can not be run alongside any other process.
- A foreground process can only be run alongside background processes, only one foreground process can be run at once.
- A background process can be run with any other process, except exclusive processes.
So, I wanted to make my process a "Foreground" process.
And I tried to create sessions at the same time, on the same RR as the "Background" processes.
Like the second line says in the document which is bolded line above.
Which is not wrong according to what the doc says.
A Foreground process can be running with Background processes at the same time, on the same machine.
But only a single Foreground process can be running on the same machine.
For clarification, my issue is this.
"Even though I checked all objects are Background or Foreground that my process uses, the process I made working like Exclusive Run Mode"
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:06 AM
So in that terms, it became exclusive.
Therefore with this setup now you should be able to run parallel processes whose all objects are set to background only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:13 AM
I just tested.
I made a simple process that contains a background object and a foreground object.
It's ok to run this process with other background processes at the same time on the same machine.
This means the test process I made is working as Foreground Mode because the objects' the most restrictive run mode is "Foreground"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:18 AM
Point 1 is absolutely true but I would tweak point 2 a bit.
With Process1 set as Foreground, you still have the door open to run Process2, Process3 and so on as Background in parallel on the same RR.
But when your Process1 is set to Exclusive neither you can have Process2 as Foreground nor as Background.
So that is the difference here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:24 AM
Therefore here are my easy-to-understand lines for run modes.
1) Foreground = 1 Foreground, Any Background, No Exclusive.
2) Background = 1 Foreground, Any Background, No Exclusive.
3) Exclusive = 1 Exclusive, No Background, No Foreground.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:26 AM
My question is this again.
Why even though I didn't include any "Exclusive" object in my process, my process has "Exclusive" mode.
According to my initial question, my process has 6 background objects and 2 foreground objects...
Which I expect the process to be "Foreground" process..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:30 AM
I checked only 1st depth objects only.
I've gone deeper and found an object's Run Mode was "Exclusive" mode.
I wish when I change an object's Run Mode BP checks it's dependencies and show all of objects' Run Mode.
Thank you for your comments.
I could think around during the conversation with you..!
Regards,
Seungjei.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-22 08:49 AM
I agree, currently, there is no mechanism that shows all of the process dependency along with calculating a final run mode for a process to easily figure out.
This is a really good idea for future enhancement.
