Hi,
I'm using loop activities in a sequence. In that sequence i'm calling a job and mailing the status of that job before end loop activity. But for the second run on the loop i'm getting the combined status of first run and second run. How can i get separate status of the job on each run?
Thanks in advance,
How to get separate Status of a job on each run?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 23
- Joined: Wed Jan 18, 2006 10:43 am
-
- Participant
- Posts: 23
- Joined: Wed Jan 18, 2006 10:43 am
By checking that option in the Notification Activity, I assume.
You'd have to write your own routine to use the various 'DSGetLog' functions to retrieve just the latest information from the log. That option in the stage does exactly what you've noted, it includes all information up to the current point in the process.
You'd have to write your own routine to use the various 'DSGetLog' functions to retrieve just the latest information from the log. That option in the stage does exactly what you've noted, it includes all information up to the current point in the process.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 23
- Joined: Wed Jan 18, 2006 10:43 am
I'm not using any custom routine. I'm using notification activity. Could you please which functions i can use to generate the latest status of the job?DSguru2B wrote:No, i didnt mean how it looks like, i meant how are you getting it? Are you using the notification activity to include job report, do you have a custom routine to get the job status? ...
Look at Craig's reply again. He mentioned DSGetLog() function. Read about it in DS help. You will also be able to find many examples here on dsxchange.chulett wrote: You'd have to write your own routine to use the various 'DSGetLog' functions to retrieve just the latest information from the log.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.