Platform Explorer / Nuxeo Platform 5.6

Operation Comment.Moderate

Follow publish or reject transition

Description

Follow publish if accept is true, reject otherwise.
Operation id Comment.Moderate
Category Document
Label Follow publish or reject transition
Requires
Since

Parameters

Name Description Type Required Default value
accept boolean yes  

Signature

Inputs document, documents
Outputs document, documents

Implementation information

Implementation class org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation
Contributing component org.nuxeo.ecm.platform.comment.workflow.operation.contrib

JSON definition

{
  "id" : "Comment.Moderate",
  "label" : "Follow publish or reject transition",
  "category" : "Document",
  "requires" : null,
  "description" : "Follow publish if accept is true, reject otherwise.",
  "url" : "Comment.Moderate",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "accept",
    "description" : "",
    "type" : "boolean",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}