We are trying to send an email to the admins whenever there is an error in the critical tasks. So we try to use P_message variable in the intermediate assuming that it will have the error details.
But here is the response we get while we invoke a composite api whic has the intermediate defined:
{"error":"2014-08-01T19:43:10+0000 - Event \"Intermediate\" (id: 3 - status: ABORTED): Error while processing {P_message}\nExpression P_message is undefined on line 1, column 3 in Intermediate."
When we try to use the P_message in one of the critical task (we have mapped errormessage=${P_message} in the task), we get the following error:
{"error":"2014-08-01T20:11:44+0000 - Task \"Erreur: In generating PDF\" (id: 5[0] - status: ABORTED): Error while processing Error happened while processing pdf for following request:<br/><br/>Error Message: {errormessage}<br/><br/>PDF Request Data:<br/>{generate_pdf_request}<br/><br/>Thanks!\nExpression errormessage is undefined on line 1, column 86 in Erreur In generating PDF.\n-------\n2014-08-01T20:11:44+0000 - Task \"Convert to PDF\" (id: 1[0] - status: ABORTED): Error while processing {P_message}\nExpression P_message is undefined on line 1, column 3 in Convert to PDF."}
So we ere not clear on how we can use the P_message in the composite api. Can you please help us? Can't we use P_message in composite api?
Thank you!
Regards,
Siva
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/10a51677-b10c-45ff-8e93-f5e1103aa6df%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
--
Dimitri MELCHIOR
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/e6fcb725-cff1-463d-a36e-a907b26c788a%40runmyprocess.com.
Can you tell us if we are missing any configuration required to use 'P_Result' in the error intermediate for script tasks?
We are close to releasing a module soon and need to find a way to report any error that happens in the composite APIs. Your timely reply will be very much appreciated.
Regards,
Sowmya
I have noticed that neither ${P_message} or ${P_status.desc} is working in all scenarios. It keeps varying with the different errors that we encounter.
Is there a generic solution that will work in all error scenarios?
Regards,
Sowmya
On Friday, August 1, 2014 4:17:56 PM UTC-4, sivak...@gmail.com wrote: