Hi @Alex Medved _ConfiForms_
I created IFTTT onError that sends an email.
The email is sent when the previous IFTTT (which create a task in Jira) is not invoked correctly and an error occurs.
In the e-mail I would like to receive the content of the error regarding the previous IFTTT.
How to do it?
Do you know what is returned in the result of the failed call? You can write it back to some hidden field in ConfiForms and then have that field reference in the email
Alex
@Alex Medved _ConfiForms_
My errors most often may be related to the JSON structure.
For testing purposes, I receive, for example, this error:
I would like to add the content of this error to the email
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am pretty sure these errors can be mitigated with a proper template - using escapeJSON for values that can break JSON and using Velocity templating (#if #else #end) for optional values
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, but I'm not talking strictly about the error itself. I can handle him.
I want to extract the content of this error to the email that is sent in IFTTT onError.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error should be available in the IFTTT result and you should be able to access it as per documentation from [iftttResult_RESULTNAME]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying to do this with IFTTT onCreated / Create confifroms entry / error=[iftttResult_RESULTNAME].
Then in IFTTT onError/send email I add field error, but I don't receive any return value in the email. The error field is empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, after looking more closely into this I have to admit that we need to make some enhancements into ConfiForms to make it work for your user case
Expect this to be available in the upcoming version of ConfiForms (3.10.8)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.