cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
548
Views
0
Helpful
1
Replies

Integrating Oracle Functions in UCCX scripting

I am facing problem in using oracle functions in the DBread step.

I have to use the encryption function of the oracle DB to encrypt the PIN for IVR system for HR information. The employee enters the PIN and this has to be compared to the encrypted PIN saved in the DB. The following SQL statement is used for this purpose.

select * from IVR_EMPLOYEE_DETAILS
where EMP_NO = $strEmpNum AND TPIN = Encriptdata($strPin)

 in the above statement $strEmpNum and $strPin are variable from the script storing the employee number and Pin.

I am getting error "variable strPin) is not defined" when I am adding the above statement in the field selection of the DB read step.

If I remove the function and just put

select * from IVR_EMPLOYEE_DETAILS
where EMP_NO = $strEmpNum AND TPIN = $strPin

there is no error.

Please advise how to call the oracle functions in the SQL statement.

1 Reply 1

Gergely Szabo
VIP Alumni
VIP Alumni

I already responded to this post here.

Is there a good reason wy you created a post with the same question?

G.