cancel
Showing results for 
Search instead for 
Did you mean: 

trigger process based on file availability

kirtish.trivedi
Level 5
Hi Community ,

I just wanted to know if we can trigger the ,bprelease file or blueprism process based on the input file availability or using a button click. We are using Blueprism 6.4

Thanks in advance

------------------------------
Kirtish Trivedi
------------------------------
4 REPLIES 4

JanČech
Level 3
Hi Kirtish,

if the process, you need to be triggered, is set into scheduler loop, and at the beginnig of the process you set "File existing" decision. Then you can trigger continue processing if you paste file to expected folder, else process ends and it will try runs again due scheduller setting.

This is of course the most simple solution I just mentioned.

Hope it helps,
Jan

------------------------------
Jan Čech
Senior RPA Specialist
VWFS
Europe/London
------------------------------

Hi  @Jan Čech​,

Thank you for reply . Actually it would be very resource consuming if I keep running the process for the whole day hence we need to some way to trigger only when file is available. and also it need to trigger multiple times a day whenever new file is present

------------------------------
Kirtish Trivedi
------------------------------

Actually its not resource consuming as much. If you calculate, that running proces from the begining to stage of check file existing decision can take about 5s, and you will run scheduler each 5min, that means about 1 minut per hour it total ( 1,66% of kapacity). Of course there could be delay between file pasting to folder and triggering proces up to 5min.

The benefit could be bigger, if you find more proccesses like this one, that needs to be triggerd by file. Than you can create something like multi loading process, which will check more folders in the same run and could prepare items for multiple queues.

------------------------------
Jan Čech
Senior RPA Specialist
VWFS
Europe/London
------------------------------

John__Carter
Staff
Staff
There's no way to do it only using BP, other than having a process continuously poll a folder, as Jan suggests. However you could do it with an external script that watches a folder and executes the BP command line when a new file arrives. This technique would have security, operational and maintenance considerations, but it is feasible.

An alternative, non-technical approach is to review the business requirements, and ask if 'instant activation' of the automation is genuinely needed, or whether a scheduled activation (eg where the process is set to run at fixed times such as 0900, 1200, 1500, 1800) would still achieve the same business benefit. You may fine that 'instant' is actually a nice to have' and 'within 3 hours' will suffice.

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------