creating a command in ProM editor in order for the workflow to identify dynamic naming files
Hi,
I'm using ProM Editor 6.1.1 to create a workflow which is monitored using ProM Monitor. I have INCOMING/OUTGOING directories defined in ProM editor. On a daily basis files are dropped in the INCOMING location which my workflow identifies and processes and the final output is delivered at the OUTGOING location.
I have a command in place in ProM editor that identifies the files dropped in the INCOMING location and its hardcoded. It works for files where the file names are constant and standard. However, I need to write a command that can accept dynamic file names that keeps on changing daily as and when they are dropped.
Standard File Format:
Dummy.YYYYMMDD.SUMHOLDDLYETV.txt
The command is (standard file format):
${CHECKTOOL} ${DIR_INCOMING}Dummy.%AUTOMENU_date:~0,4%%AUTOMENU_date:~5,2%%AUTOMENU_date:~8,2%.SUMHOLDDLYETV.txt 300 24
Dynamic File Format: (highlighted in bold are the part of file name that are dynamic and change daily)
YYYYMMDD060513_604_YYYYMMDD000000_000_Dummy.txt
One way that I thought was to use wildcard in the command in order to make the command more flexible to accept dynamic file names. But unfortunately that didn't work or may be I didn't use the wildcards efficiently.
Any thoughts on how can I create a command in ProM Editor so that my workflow can identify and accept dynamic file names?
Thanks!
Comments
-
Dear Ashwin,It seems your idea of the ProM tool is different from the forum's idea of the ProM tool. This forum deals solely with the process mining framework called ProM, see https://www.promtools.org for more details on this tool. The terms ProM Editor and ProM Monitor have no meaning for us. My guess is that for you ProM stands for Programmable Read-Only Memory, not PROcess Mining.Kind regards,
Eric.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 45 Announcements / News
- 225 Process Mining
- 6 - BPI Challenge 2020
- 9 - BPI Challenge 2019
- 24 - BPI Challenge 2018
- 27 - BPI Challenge 2017
- 8 - BPI Challenge 2016
- 68 Research
- 1K ProM 6
- 394 - Usage
- 288 - Development
- 9 RapidProM
- 1 - Usage
- 7 - Development
- 54 ProM5
- 19 - Usage
- 187 Event Logs
- 32 - ProMimport
- 75 - XESame