Description:
I have upgraded to Clarity 12.0 or higher and I can no longer find Created By Resource or Last Updated By Resource under the Resource Fields tab when I try to assign a resource to a process action item (or manual action). I want to be able to assign action items to these users in new processes.
Solution:
Explanation: These Resource Fields are no longer provided out-of-the-box in Clarity 12.0 and higher
SELECT @SELECT:users.ID:[email protected],@SELECT:users.LAST_NAME:[email protected],@SELECT:users.FIRST_NAME:[email protected],@SELECT:users.FIRST_NAME || ' ' ||LAST_NAME:[email protected] srm_resources users
<gel:script xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"xmlns:core="jelly:core"xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"xmlns:sql="jelly:sql" xmlns:xog="http://www.niku.com/xog"><gel:setDataSource dbId="niku" var="a"/><gel:persist var="myObjectID" value="${gel_objectInstanceId}" scope="INSTANCE"/>
<sql:update dataSource="${a}">update odf_ca_idea set my_created_by = (select id from srm_resources where user_id = (select created_by from odf_ca_Idea where ID =${gel_objectInstanceId})) where ID = ${gel_objectInstanceId}</sql:update>
<sql:update dataSource="${a}">update odf_ca_idea set my_last_updated_by = (select id from srm_resources where user_id = (select created_by from odf_ca_Idea where ID = ${gel_objectInstanceId})) where ID = ${gel_objectInstanceId}</sql:update>
</gel:script>
Keywords: CLARITYKB, Process, manual action, action item, Resource Fields, Gel Script.
Release: ESPCLA99000-12.1-Clarity-Extended Support Plus
Component:
.