Original Message:
Sent: Jan 23, 2026 11:29 AM
From: Daryl Brown
Subject: Scan folder to trigger workflow
I know I asked this before, but I didn't see your answer... On your event object, are you specifying a login object on the attributes tab? (You don't necessarily need a login object for file events, but if you're not using one, then it might be getting stuck trying to access the share without specifying any login credentials.)
Another thing to try... on the event tab, if you toggle the 'File' condition from 'File Changed' to (blank), does that work any better?
Original Message:
Sent: Jan 23, 2026 09:27 AM
From: Mylene Chalut
Subject: Scan folder to trigger workflow
@Michiel Verhoeven,
Thank you for the information. I tried removing the asterisk and it is still behaving the same.
What I have now
PROCESS
:SET &PATH# = "\\fld6filer\BrsSystems\Workitems\TF22386"
:SET &HND# = PREP_PROCESS_FILENAME("WIN_WLA-PA1","&PATH#\*.csv","Y","N",,,"UC_LOGIN=SERVICEACCOUNT")
:PROCESS &HND#
: SET &LINE#=GET_PROCESS_LINE(&HND#)
: SET &LENGTH# = STR_LENGTH(&PATH#)
: SET &CHECK# = STR_ENDS_WITH(&PATH#,"\")
: IF &CHECK# EQ "Y"
: SET &LENGTH# = &LENGTH# + 1
: ELSE &CHECK# EQ "N"
: SET &LENGTH# = &LENGTH# + 2
: ENDIF
: SET &FILENAME# = SUBSTR(&LINE#, &LENGTH#)
:ENDPROCESS
!:SET &RUNID# = ACTIVATE_UC_OBJECT(JOBP.WIN.BR_OA_UTILITY_TEST)
The process itself is working if I add it in a JOBS.WIN object. I guess the only option that I have at the moment is to create an EVNT.TIME object to trigger the JOBS.WIN object ? Do you think that would be a good idea ?
------------------------------
Thank you,
Mylene Chalut
Original Message:
Sent: Jan 21, 2026 10:56 AM
From: Michiel Verhoeven
Subject: Scan folder to trigger workflow
Hi Mylene,
Broadcom Support has identified the behavior you are observing as a bug. We are in the process of preparing a fix for the issue.
The following KB article describes the issue in more detail:
The issue will likely be fixed in the next version, although I cannot guarantee this at the moment.
As a workaround and for testing purposes you can try:
- using a path without asterisk to see if a file get picked up
- running the Event against a C-based Agent (e.g. Windows Agent v21.0.15), which does not show this behavior.
(this version is not supported anymore so you would have to wait for the fix before moving this into Prod)
Please subscribe yourself to the KB article to be kept in the loop about the release of the fix.
Original Message:
Sent: Jan 16, 2026 06:55 AM
From: Mylene Chalut
Subject: Scan folder to trigger workflow
Good morning @Daryl Brown !
I did what you suggested. I added the following script in the Event Process section :
:SET &HND# = PREP_PROCESS_FILENAME('WIN_WLA-PA1','\\fld6filer\BrsSystems\Workitems\TF22386\*.csv','Y')
:PROCESS &HND#
: SET &LINE# = GET_PROCESS_LINE(&HND#)
: PRINT &LINE#
:ENDPROCESS
I executed the EVNT.FILE object and then added a file in the folder. The status of the event stays in checking mode, but there is absolutely nothing in the report. I try adding and removing files from the folder... nothing !
This is pretty strait forward. Can you see what's wrong with this ?
Here is the content of the File Event section :

Original Message:
Sent: Jan 15, 2026 01:51 PM
From: Daryl Brown
Subject: Scan folder to trigger workflow
The way we typically tackle this is to include code on the Event Process tab -- the part that gets triggered once the File Event finds something -- to do a PREP_PROCESS_FILENAME on the agent / file pattern in question. Each matching filename is going to appear on its own row in that data sequence, so you can easily get the exact filename using GET_PROCESS_LINE to save it to a variable. (I gather there's presumably only one file to be found, but you probably want to consider how you want it to behave if it finds multiple matches.) From there, you can just activate your target workflow, passing the filename variable.
Let me know if you need additional help seeing how this works.
Original Message:
Sent: Jan 15, 2026 12:46 PM
From: Mylene Chalut
Subject: Scan folder to trigger workflow
Hello guys !
I was asked to implement a process that would trigger OA workflow if a file is available. I created an EVNT.FILE object that scans the folder, now how can I get the file name that has been dropped, with is the input parameter to execute the workflow? I searched the documentation, but couldn't find a working solution. Can you please help me solve this ?
Please note that English is not my primary language. Please let me know if my request is not clear enough ;-)
We are using V24.
Thanks in advance for your help :-)
------------------------------
[JobTitle]
[CompanyName]
[State]
------------------------------