Get Result "TRUE" from JDBC query

150 views
Skip to first unread message

aleber...@gmail.com

unread,
Apr 23, 2018, 5:46:15 PM4/23/18
to Fujitsu RunMyProcess Developer Community
Dear,

I need to take an action when result of JDBC query function is TRUE

FN_VALIDATE_CONTRACT(CUIT,contract_id,rfq_date)

The JS inserted in which I generated is

<#if P_result.SECStatus?number == 200&& P_result.DBData.data[0].FN_VALIDATE_CONTRACT(CUIT,contract_id,rfq_date)?string == "TRUE">
true
<#else>
false
</#if>

But it is not working.
Can you please help me on this script?

Thanks
Alejandro


Pankaj Kumar

unread,
Apr 23, 2018, 5:58:54 PM4/23/18
to Fujitsu RunMyProcess Developer Community
Hi Alejandro,

Kindly share the error details you are receiving and if possible please share the "P_result" variable value to us also in order to validate the script.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support



--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://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/5300d396-4496-47a4-9056-f3cd39cf8e74%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

aleber...@gmail.com

unread,
Apr 25, 2018, 10:22:43 AM4/25/18
to Fujitsu RunMyProcess Developer Community

Hi, the error was fixed. There was not in the jscript
Thanks
Alejandro

Reply all
Reply to author
Forward
0 new messages