Topic by Ajith Errabelly
Content
The Below is the block of code where I search for a row using ID of that table, but my search criteria needs one more column along with the primary key. How do I add that column in search criteria in the below code block.
We would like to create the update query with the "and" condition from the column that is not the primary key.
Eg.
We would like to update the status to "Complete" for the ID = 123 "and" 124 for the regular SQL we would like something like below.
update Artrim set STATUS_ID= '3', COMMENT = 'Update Pending to Complete' where STATUS_ID= '2' and ID in (123, 124);
How about the RightNow Service API? We tried to put the "and" condition for non Primary key