Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Object function in Oracle VBCS

edited Dec 11, 2020 9:53AM in Visual Builder 4 comments

Content

Hi Team,

I'm creating an Object function under the Business Rules with the below code. The return type I selected as List only. 

def vo = newView('Employee')
vo.appendViewCriteria("firstName = '"+empName+"'")
return vo.executeQuery()

I don't see this object function in the REST Endpoint tab. Can you help how to convert this function as a REST API.

I have already enabled Callable by External System. See the attached screenshot

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!