Hi all!
I need to create an email alert that will be triggered if a Task Assignment Workflow is created for a specific user. My goal is to check if that user is a User Cal (has a Webcon licence) and if not send me an email so I can give the user the access required.
I've created a Send custom email and I'm trying to define the execution rule that will be checking the previous statement.
My query is the following:
SELECT UCL_BpsID
FROM WFElements
JOIN CacheOrganizationStructure as G ON {WFCONCOL:1858} = G.COS_BpsID
JOIN UsersCal as A ON G.COS_BpsID = A.UCL_BpsID
where WFD_ID = '{WFD_ID}'
I actually want to get the UCL_LicenseType (Integer denoted license type) associated with the user, I've changed the form field to ID, Database ID/ Name and it retrieves an error all the time.
Does anyone tried this before?
Thank you all