Page 1 of 1
invocation id in sequence job
Posted: Fri Aug 08, 2008 12:55 pm
by cparru
some of the job activities have the invocation id and some do not? is there a reason for that?
what do i need to do to get the invocation id in every job activity. Because, my sequence runs in a loop so i want the execution be separated for each iteration.
Thanks in advance...
Posted: Fri Aug 08, 2008 1:15 pm
by chulett
You only get the InvocationID prompt for jobs that are
Multi-Instance enabled. Don't see what looping has to to with InvocationIDs, however.
Posted: Sun Aug 10, 2008 11:48 pm
by tkbharani
If you need invocation_id for each loop activity, then you must declare a parameter called "instance no" or some thing. This parameter must be changing every time a new loop is running, it must be dynamically changing. One important point is job must be multi instance job and invocation id must be mapped with parameter(dynamic).
But I dont know how good it works...
Posted: Sun Aug 10, 2008 11:55 pm
by ray.wurlod
You could use the $Counter property.
But the job, if it is inside the loop, will complete before the loop re-iterates, so it does not need to be multi-instance at all. Nor does it need an invocation ID.
Posted: Mon Aug 11, 2008 7:02 am
by chulett
Exactly.