Changes

Jump to: navigation, search

System Call

54 bytes added, 20:07, 11 February 2013
no edit summary
<!--SysCall_workflow(levelone,@parent.objid@,'myworkflow')@--></pre>
**@objtype@ and @objid@ are reserved words.
*@objtype@ and @objid@ are reserved words. *Objtype can be referenced to the integer value associated with the entity type (23, 18, 30, 40) or constants can be used such as levelone, level1, leveltwo, level2, levelthree, level3, contact, people, company
== Available System Calls ==
The following System Call are currently in production
''
<pre>SysCall_updatestatus(objecttype,objectid,'StatusName')''
Update the status of an object to a new status.</pre>
<pre>SysCall_workflow(objecttype,objectid,'WorkflowTriggerName')Call a workflow</pre>
<pre>SysCall_activatepeople(userid,activateType)
Activate a contact as a user. The activateType can be set to:
0 = deactivate existing users
1 = activate user with access through the administrative or portal interface.
3 = activate user with access through Applicant Tracking Interface only.
5 = activate user with access web service login).</pre>
<pre>SysCall_updaterole(userid,updatetype,'rolesNamesDelimitedByCommas')
Update user role. The updatetype can be set to:
1 = Add roles to contact.
2 = Remove all existing roles and add new roles.
3 = Remove listed roles.</pre>
<pre>SysCall_updatesysvar('VariableName','Description','VariableValue')Update existing System Variable to new value.</pre>
== Proposed Additional System Calls ==
We welcome suggestions for additional system call that would reduce the need for scripting so please email SmartSimple Support or open a support ticket with the SmartSimple with the details of the System Call you would like to add. New
Smartstaff
311
edits

Navigation menu