Page 1 of 1

Regarding Invocation id

Posted: Mon Apr 13, 2015 12:32 pm
by manojbh31
Hi All,

I have job which is multi instance and i have a parameter set which has 10 value file name. I need to pass invocation id from value file

eg:-- Parameter set is ABC and value file name XYZ and invocation id is 1234

I need to pass value in seqeunce for invocation id as below

#ABC#.#XYZ#.#Invocation ID#

Is this possible?

One More question, I am running the sequence and has one job and creates 30 instances, once job is completed all instances are gone, it is not showing the instances. Can anybody please help on this why instances are vanished?


Thanks

Posted: Mon Apr 13, 2015 2:31 pm
by spuli
Use executefile activity and get the list of filenames in comma separated format.

Use the filenames list (output of executefile activity) in start loop activity.

Use the startloop activity.$counter as value in the instance value in job activity.

Hope this helps.

Re: Regarding Invocation id

Posted: Mon Apr 13, 2015 2:38 pm
by manojbh31
I do not want to run seqeunce in loop, is there other way to provide invocation id.

Posted: Mon Apr 13, 2015 4:07 pm
by ray.wurlod
Re your second question: Probably your job log auto purge is set to a too small value. If you want to keep 30 instances worth of logs, then it needs to be at least 30, or time-based.

Re: Regarding Invocation id

Posted: Tue Apr 14, 2015 1:05 am
by syedmuhammedmehdi
I think you want to run in parallel assuming your number of files are fixed always & in that case generate a csv file with whatever Parameter set, file name and invocation id you want to pass then using execute command execute sed, cut to get parameter values for each instance and execute parallelly.