on 07-22-2014 2:49 PM
Hello,
how can I get the jobname of a job which raised an event with REL?
The jobId I can get with =waitEvents.<Event>.raiserJobId.
At the moment I extract the jobname from "waitEvents.<Event>.raiserComment" with "substring" and "indexOf", but I hope there could be a better possibility.
Thanks and best regards
Dana
Hi Dana,
You can see the REL functions in http://<server>:<port>/scheduler/help/model/rel_functions.html
Look, the example for Query.getString() retrieves the jobname:
=Query.getString("select Job.Description from Job where Job.JobId = ? ", waitEvents.<Event>.raiserJobId)
Regards,
HP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.