# @jc:task-create Annotation

Creates Tasks.

Used by the Task and Task Worker controls.

### Syntax

@jc:task-create

name="the Task name"
[description="task description"]
[comment="the text of a comment"]
[request-mime-type="the mime type of the request"]
[request=the data of the request]
[response-mime-type="the mime type of the response"]
[response=the data of the response]
[priority="an integer for priority"]
[owner="the new task owner"]
[can-be-reassigned="true|false"]
[can-be-aborted="true|false">]
[can-be-returned="true|false"]
[claim-due-business-date="the business due date"]
[claim-due-date="the claim due date"]
[completion-user-calendar="the user completion due date calendar"]
[completion-calendar="the completion due date calendar"]
[claim-user-calendar="the user claim due date calendar"]
[claim-calendar="the claim due date calendar"]
[completion-due-date="the completion due date"]
[completion-due-business-date="the completion business due date"]

### Attributes

can-be-aborted

A Boolean that determines whether a Task can be aborted. If the value is set to true, a Task can be aborted. If the value is set to false, the Task cannot be aborted by the assignee or claimant of the Task.

can-be-reassigned

A Boolean that determines whether the Task can be reassigned to a different Assignees List. If the value is set to true, the Task can be reassigned. If the value is set to false, the Task cannot be reassigned by the assignee or claimant of the Task.

can-be-returned

A Boolean that determines whether the Task can be returned to an assigned state, which specifies the users who are allowed to become the claimant. If the value is set to true, a Task can be returned to an assigned state. If the value is set to false, the Task cannot be returned by the assignee or claimant of the Task.

claim-calendar

A string that indicates which business calendar to use for setting the date that a Task should be in a claimed state.

claim-due-business-date

A string that sets due date for a Task to be claimed, using a business time duration.

claim-due-date

Sets the date that a Task is due to be in a claimed state (java.lang.Date).

claim-user-calendar

A string that directs the Task to use the calendar of the user whose name you specify for the claim due date.

comment

A string for setting for comments about the Task.

completion-calendar

A string that sets the calendar for the date that a Task is due to be completed.

completion-due-business-date

A string for setting the business duration that a Task is due to be completed.

completion-due-date

Sets the date that a Task is due to be completed (java.lang.Date).

completion-user-calendar

A string that directs a Task to use the calendar of the user whose name you specify for the completion date.

description

A string for describing a Task to provide information.

name

A string specifying the Task name displayed in WebLogic Workshop.

owner

A string specifying the name of the Task owner.

priority

This integer sets the magnitude of the priority of the Task. The default is 1.

request

The data of the Task request. Can be any type or format that can accept any serializable Java object that is imported and accessible to your control.

request-mime-type

A string that specifies the mime type of the request data. This annotation exists for information purposes only and does not provide any handling of data or validation.