Forum Discussion
2 Replies
- WernerNContributor II
I would like the same function. I need to select a cube root workflow profile in a source application so that i can, in a subsequent selection, select a workflow under that cube root.
Cant believe there is not an API call for that similar to when we go to workflows and select a cube root profile at the top.
Is the only option an adapter over WorkflowProfileHierarchy table WHERE ProfileType = 1 - WernerNContributor II
Wrote to fast. ProfileType = 1 is wrong. should have been HierarchyLevel. See below.
So here is the SQL i am using to get a list of Cube Root Workflow Profiles:SELECT ProfileName Name, ProfileKey Value
FROM WorkflowProfileHierarchyWHERE HierarchyLevel = 1 AND ProfileType = 0
Related Content
- 2 years ago