on 11-20-2009 11:11 AM
Hi Experts,
Does anyone know a way to start workflow automatically for ALL records without human interference?
I want to start workflows every day. For instance to recalculate, re-validate, re-assign or syndicate ALL records of a table.
Kind regards,
Job Jansen
Hello Job Jansen
I suppose recalculate and validate all recodrs once a day don't make sense when that records is the same
and records wasn't changing
However, you can use Autolaunch = Threshold with Max Time = 24 hour(for example)
workflow will fire when Max Time say greater then time last launched job.
And few another ways:
1) you can use task sheduler for launch import manager and turn autolaunch workflow when it do import
2) turn automatic import process(MDIS) once a day and use workflow for add records
3) developed Java application which used MDM JAVA API for start workflow
Regards
Kanstantsin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Kanstantsin,
One of the reasons for running workflow daily on ALL records is the fact that it really makes sense:
1. calculated field can change f.i. as the systime changes.
2. validation can create error because a it verifies with the fields in a Lookup-table
3. same for assignment.
So validations, assignments and calculated fields can give a different outcome without changes in the record itself.
Setting Threshold is indeed a start but you have to do a trick for starting and restarting the job.
I made an extra workflow named RESTART that will be launched by the daily workflow and that will launch the daily workflow again.
It seams to work.
For the other solutions 1 and 2 they will only work for imported records.
And for solution 3 I think it will work but that will be a self made solution.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.