Workflows

Gets workflows initiated by the current user.

GET https://account.sf-api.com/sf/v3/Workflows/Initiated 

Restrictions: * Skip must be a multiple of 25. * Top must be 25. It's preferred to not supply this. * Sort is only supported for LastUpdatedDate and Due

Returns: A feed of Workflow objects

Gets workflows shared with the current user.

GET https://account.sf-api.com/sf/v3/Workflows/Shared 

Restrictions: * Skip must be a multiple of 25. * Top must be 25. It's preferred to not supply this. * Sort is only supported for LastUpdatedDate and Due

Returns: A feed of Workflow objects

Get a workflow by id.

GET https://account.sf-api.com/sf/v3/Workflows(id) 
idString Workflow Id

Returns: A Workflow object

Create an Approval Workflow

POST https://account.sf-api.com/sf/v3/Items(id)/Workflows/Approval 
            { 
                "Participants": 
                [ 
                    { 
                        "Contact": 
                        { 
                            "Email": "contact@email.com" 
                        }, 
                        "Role": "Active" 
                    }, 
                    { 
                        "Contact": 
                        { 
                            "Email": "contact.cc@email.com" 
                        }, 
                        "Role": "Passive" 
                    } 
                ] 
            } 
idString
requestCreateWorkflowParams

Returns: A new approval workflow

Create a Feedback Workflow

POST https://account.sf-api.com/sf/v3/Items(id)/Workflows/Feedback 
            { 
                "Participants": 
                [ 
                    { 
                        "Contact": 
                        { 
                            "Email": "contact@email.com" 
                        }, 
                        "Role": "Active" 
                    }, 
                    { 
                        "Contact": 
                        { 
                            "Email": "contact.cc@email.com" 
                        }, 
                        "Role": "Passive" 
                    } 
                ] 
            } 
idString
requestCreateWorkflowParams

Returns: A new feedback workflow