Question
2
Replies
220
Views
Posted: April 10, 2017
Last activity: April 11, 2017
Reading work object using rule utility function
Hi All,
I wanted to read some property inside a work object from a Rule-Utility-Function, is there any OOTB standard way?
Thanks,
Sudarsan M
If you are trying to read a property from a work object then that means you are trying to extract the content from BLOB. So far I am not aware of a Rule-Utility-Function written to do this job, since it should be done by UDFs like pr_read_from_stream at database.
Best way is to expose the property from BLOB as a column, 'optimize for filtering' wizard can do that job for you. Else you can create a column with the name as same as defined on the property and mapping the appropriate column type to its relevant property type, once this is done at database you can run prpcUtils.bat commandline utility tool with the action as 'expose' by mentioning the class name (where the property resides) in the prpcUtils.properties file