Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

workflowengine:addnewobjecttogroup

Adds a new asset to a workflow group

Syntax

Parameters

site (required)
Publication id.

object (required)
Name of loaded workflow asset object.

id (required)
Workflow group id.

comment (optional)
Workflow participant's comments.

deadline (optional)
Date object. Stored as time in milliseconds since midnight of 1/1/1970.

assignmentlist (optional)
Name of participant object for a "Choose assignee when step is taken" assignment method. If none is entered, it uses the default set by the workflow administrator. (See Description.)

Description

The workflowengine:addnewobjecttogroup tag enables you to add a new asset to a workflow group, that is not in workflow yet. If the asset is already in a workflow, this tag will change the status to "pushed" (inactive until the current workflow ends) and add the asset to the workflow group identified by id.

Note the following when you use the assignmentlist parameter; when adding a new workflow step to a workflow process, the administrator needs to decide on the assignment method, which determines to whom the asset is assigned in the next workflow state. There are four assignment methods from which to choose:

If the administrator selects the "Choose assignee when step is take" assignment method, then the workflow participant is presented with a list of possible assignees at the time of "Finish my assignment".

For more information about setting up a workflow process, see the Sites Administrator's Guide.

Error Numbers

The possible values of errno include:
Value
Description
-12024
Missing group. Workflow group not found.
-12030
Insufficient privileges.
-12041
Already in workflow.
-12028
Not logged in.
-12050
Incompatible process.
-12026
Missing step. No start state.
-12001
Missing field.

Example

Adds a new asset to workflow group.

  Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.