Skip to content

Instantly share code, notes, and snippets.

@eduardolundgren
Created August 12, 2011 15:21
Show Gist options
  • Save eduardolundgren/1142274 to your computer and use it in GitHub Desktop.
Save eduardolundgren/1142274 to your computer and use it in GitHub Desktop.
JSONML parsed
{
"results": [{
"scriptedAssignments": [],
"resourceActionAssignments": [],
"userAssignments": [{
"emailAddress": null,
"screenName": null,
"userId": "32424234"
}],
"roleAssignments": [],
"notifications": [{
"notificationType": "email",
"recipients": [],
"templateLanguage": "text",
"template": "Your submission was rejected by a reviewer, please modify and resubmit.",
"description": null,
"name": "Creator Modification Notification"
}],
"actions": [],
"transitions": [{
"target": "review",
"name": "resubmit"
}],
"initial": null,
"name": "update"
}, {
"scriptedAssignments": [{
"scriptLanguage": "JavaScript",
"script": "SCRIPT"
}],
"resourceActionAssignments": [{
"resourceAction": "TESTIN RESOURCE 2"
}],
"userAssignments": [{
"emailAddress": null,
"screenName": null,
"userId": null
}],
"roleAssignments": [{
"name": "Organization Administrator",
"roleType": "organization",
"roleId": null,
"autoCreate": null
}, {
"name": "Organization Content Reviewer",
"roleType": "organization",
"roleId": null,
"autoCreate": null
}, {
"name": "Organization Owner",
"roleType": "organization",
"roleId": null,
"autoCreate": null
}, {
"name": "Administrator",
"roleType": "regular",
"roleId": null,
"autoCreate": null
}, {
"name": "Portal Content Reviewer",
"roleType": "regular",
"roleId": null,
"autoCreate": null
}, {
"name": "Site Administrator",
"roleType": "site",
"roleId": null,
"autoCreate": null
}, {
"name": "Site Content Reviewer",
"roleType": "site",
"roleId": null,
"autoCreate": null
}, {
"name": "Site Owner",
"roleType": "site",
"roleId": null,
"autoCreate": null
}],
"notifications": [{
"notificationType": "email",
"recipients": [],
"templateLanguage": "text",
"template": "You have a new submission waiting for your review in the workflow.",
"description": null,
"name": "Review Notification"
}, {
"notificationType": "email",
"recipients": [{
"userAssignments": [{
"emailAddress": null,
"screenName": null,
"userId": null
}],
"roleAssignments": [],
"address": null
}],
"templateLanguage": "freemarker",
"template": "\u0009\u0009\u0009\u0009\u0009\u0009\u0009\u0009Your submission has been reviewed and the reviewer has applied the following ${taskComments}.",
"description": null,
"name": "Review Completion Notification"
}],
"actions": [],
"transitions": [{
"target": "approved",
"name": "approve"
}, {
"target": "update",
"name": "reject"
}],
"initial": null,
"name": "review"
}],
"meta": {
"description": "A single approver can approve a workflow content.",
"name": "approve",
"version": "1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment