what's the frequency of the letter "s" in:
q: how to query all active approval processes i'd like to query all active approval process, know what object they control, and ultimately pull the type of approver (related, user, queue etc..) is this possible? doesn't seem like it..

a: you can do it by means of process.. sobjects:


*

*processdefinition (represents the definition of a single approval process.)

*processinstance (represents an instance of a single, end-to-end approval process. use this and the node, step, and workitem process instance objects to create approval history reports.)

*processinstancehistory (this read-only object shows all steps and pending approval requests associated with an approval process (processinstance).)

*processinstancestep (represents one work item in an approval process (processinstance).)

*processinstancenode (represents a step in an instance of an approval process. compare to processnode, which describes the step in a process definition. use this object to retrieve approval history.)

*processinstanceworkitem (represents a user’s pending approval request.)


a: select id,name, developername, tableenumorid,description, state, type from processdefinition where tableenumorid =  and state ='active'

user
In that passage, there are 104 occurrences of the letter "s."
assistant