DocumentationAEM 6.5User Guide

AEM Forms workspace JSON object description

Last update: June 24, 2024
  • Applies to:
  • Experience Manager 6.5
  • Topics:
  • HTML5 Forms,Adaptive Forms,Mobile Forms

CREATED FOR:

  • Admin
  • User
  • Developer

JSON objects used in AEM Forms workspace are described below.

  1. Category

    Categories are present in the start process tab of the workspace. These categories are used to classify the startpoints.

PropertyClient OnlyComments
nameFCategory name
idFCategory ID
descriptionFCategory description
parentOidFContains oid of parent category
startPointsListTContains list of all startpoints present in a category
categoryListTContains list of direct child categories of a category
NOTE
All Startpoints and Favorites are categories which are defined on client side. Favorite category contains all startpoints which are marked by the user as favorite. All Startpoints category contains all startpoints.
  1. Startpoint

    Startpoint is used to start a process from the workspace when invoked.

    PropertyClient OnlyComments
    categoryIdFIt contains id of the category to which startpoint belongs.
    descriptionFIt contains description for a startpoint.
    nameFIt contains name of the startpoint.
    serializedImageTicketFIt contains image ticket corresponding to the startpoint. This image ticket is used in imageUrl field of startpoint, to get image for startpoint from the server.
    serviceNameFIt contains name of the service for startpoint.
    startpointIdFIt contains id of startpoint.
    isFavoriteTDenotes whether startpoint is favorite or not. True if startpoint is favorite else false.
    isDefaultImageTDenotes whether there is an image specified for process or not. True if there is no image associated with process else false.
    taskTIt contains task created when startpoint is invoked.
    imageUrlTIt contains url of the image corresponding to the startpoint.
  2. Task

    Tasks are assigned to users/group and include a user interface–a form or a Guide (deprecated)–that can be populated with data. When users are assigned a task, they are provided with the form or Guide to complete and submit.

PropertyClient OnlyComments
classOfTaskFClass of task is 'LC8' when task is lc8 task else 'Standard'.
completeTimeFIt contains the time stamp when task is completed.
consultGroupIdFIt contains ID of a group to which task can be consulted. It is set during the process designing.
createTimeFIt contains the time stamp when task is created.
creationIdFIt contains the id of the user who created the task.
currentAssignmentFIt contains details about current assignment of task.
deadlineFIt contains the time stamp that when a task will reach its deadline.
descriptionFIt contains description of the task.
displayNameFIt contains display name of the task.
forwardGroupIdFIt contains ID of a group to which task can be forwarded. It is set during the process designing.
instructionsFIt contains instructions for a task.
isLockedFTrue if task is locked.
isMustOpenToCompleteFTrue if task form must be opened to complete the task.
isOpenFullScreenFIf true, on opening the task, form takes complete screen first time.
isRouteSelectionRequiredFIf true, route must be selected to complete the task.
isShowAttachmentsFAttachments are shown if it is true.
isStartTaskFIf true, task is created from start point.
isVisibleFTrue if task is visible in workspace.
nextReminderFTime stamp for the next reminder.
priorityFIt contains priority of task.
1 = Highest priority
2 = High Priority
3 = Normal Priority
4 = Low Priority
5 = Lowest Priority
processInstanceIdFId of the process instance of which task is part.
processInstanceStatusFStatus of task's process instance.
reminderCountFIt contains count of reminders for the task.
routeListFIt contains list of routes associated with task. User can complete the task by selecting any one of the route from route list.
selectedRouteFIt contains name of the route selected when task was completed.
serializedImageTicketFIt contains image ticket corresponding to task. This image ticket is used in imageUrl field of task, to get image for task from the server.
serviceNameFIt contains name of the service for task.
serviceTitleFIt contains title of the service for task.
statusF1 = Created (Task is created from start point.)
2 = Created and Saved (Task is created from start point and saved.)
3 = Assigned (Task is assigned to the user after process has been started.)
4 = Assigned and Saved (Task is assigned and saved.)
100 = Completed (Task is completed.)
101 = Deadlined (Task has reached the deadline.)
102 = Terminated
stepNameFIt contains name of the task set during process designing.
summaryUrlFIt contains task summary url.
taskACLFIt is access control list for a task.
taskIdFId of a task.
updateTimeFTime stamp when task was last updated.
formUrlTIt contains url of form for a task.
taskFormTypeTIt contains task form type. Using this field, task is rendered on client as pdf for, swf form, and so on.
showDirectActionsTIf true, route actions are visible in workspace.
showACLActionsTIf true, actions like forward, consult, share are visible in workspace.
supportsOfflineTIf true, form can be taken offline. This is for pdf forms only.
supportsSaveTIf true, user can save task.
readerSubmitOptionsTThis object contains options which are used to submit pdf forms via reader in case when pdf form contains no submit button.
isDefaultImageTDenotes whether there is an image specified for process or not. True if there is no image associated with process else false.
historyTaskListTIt contains list of tasks which are used in history tab of task details.
isOwnerTTrue if logged in user is owner of task.
availableCommandsTIt contains all actions that can be taken on task.
availableCommands.directCommandsTIt contains all route actions that are available for a task.
availableCommands.taskACLCommandsTIt contains commands like forward, share and consult if available for a task.
availableCommands.otherCommandsTIt contains commands like lock, unlock, abandon, return, claim, and so on, as available.
processInstanceInfoTIt contains information about task's process instance.
processVariablesTIt contains array of objects of process variables if present.
pendingTasksTIt contains list of pending tasks for the task's process instance.
userActionsTIt is array of objects. Each object contains details about route and its corresponding confirmation message if present.
dataUrlTIt is url for the data of the form of a task.
externalAppConfigTThis is configuration for third-party application forms.
submittedTTrue if task is submitted.
attachmentsTList of attachment for a task.
assignmentsTList of assignments of a task.
  1. Filter

    Filter is basically queue of user or group. When a task is assigned to user/group, the task is added in corresponding queue.

PropertyClient OnlyComments
isDefaultFTrue if queue is default queue of the logged in user, else false.
nameFName of the owner of the queue.
qidFId of the queue.
typeFIt contains type of the queue.
0 - User queue.
1. Shared Queue.
2. Group Queue.
queryTThis contains query associated with a filter. This query is used to search tasks from complete tasklist.
tasksTIt contains list of all tasks that belongs to a filter.
  1. Out-of-Office

    You can manage your out-of-office schedule and control the flow of tasks assigned to you in your absence.

PropertyClient OnlyComments
dateRangesFIt contains array objects of out-of-office schedules of a user. In each schedule object, startDate field contains schedule's start date andendDate field contains schedule's end date. If endDate is null in schedule, it implies that user has not scheduled the end date of out-of-office schedule.
isNoPrimaryDesignateFTrue if there is no primary designate in case if user is out-of-office.
isOutOfOfficeFTrue if user is out-of-office.
outOfOfficeDesignateFIt contains details of user who is assigned as primary designate by user.
processSpecificDesignatesFIt contains array of objects for process-specific out-of-office designate. In each process-specific designate object, processName contains the name of the process, isNotDesignated is true if no user is assigned for corresponding process, and userDesignated is null if no user assigned else details of the user assigned for corresponding process.
processesTIt contains a list of all processes that are available to the user.
initialOutOfOfficeSettingsTIt contains initial out-of-office settings of user which are fetched initially.
outOfOfficeSettingsTIt contains modified out-of-office settings.
userSearchHistoryTIt contains a list of users that are searched by a logged in user until date.
  1. Process Instance

    A process instance is created when a process is invoked via workspace or workbench.

PropertyClient OnlyComments
descriptionFDescription of process instance
initiatorFName of initiator of a process instance.
initiatorIdFID of initiator of process instance.
processCompleteTimeFTime stamp when process completed.
processInstanceIdFID of process instance.
processInstanceStatusF0 = Initiated
1 = Running
2 = Complete
3 = Completing
4 = Terminated
5 = Terminating
6 = Suspended
7 = Suspending
8 = Unsuspending
processNameFName of the process.
processStartTimeFTime stamp when process started.
processVariablesFArray of objects of process variables. Each process variable object contains name which is name of process variable, value which is value of process variable and type which is type of process variable.
tasklistTTasks generated by this process instance.
  1. Process Name
PropertyClient OnlyComments
processMajorVersionFMajor version of a process.
processMinorVersionFMinor version of a process.
processNameFName of the process.
processTitleFTitle of the process.
processInstanceListTList of process instances for this process.
  1. Task Assignment Object

    Task assignment object contains information about the assignment of task. Following are the properties of task’s assignment.

PropertyClient OnlyComments
assignmentCreateTimeFTime stamp when this assignment of a task is created.
assignmentTypeF0 = Initial Assignment
1 = Forward (Task has been forwarded to current owner of task.)
2 = Returned (Task has been returned to current owner of task by previous owner of task.)
3 = Claimed (Task has been claimed by current owner of task.)
4 = Escalation (Task has been assigned to current owner of task after escalation.)
5 = Administrator Assigned (Task has been assigned by administrator to current owner of task.)
6 = Consulted ( Task has been consulted to current owner of task.)
assignmentUpdateTimeFTime stamp when this assignment of a task is updated.
queueIdFID of Queue of current owner of task.
queueOwnerFName of current owner of task.
queueOwnerIdFID of current owner of task.
  1. Task ACL Object

    Task ACL object contains information about permissions like forward, share, consult, and so on, of a task. Following are the properties of task’s ACL.

PropertyClient OnlyComments
canAddAttachmentsFIf true, attachments can be added to task.
canAddNotesFIf true, notes can be added to task.
canClaimFIf true, task can be claimed.
canConsultFIf true, task can be consulted.
canForwardFIf true, task can be forwarded.
canShareFIf true, task can be shared.
  1. Task Attachment

    Attachments can be added to a task. Attachment can be of type attachment and note. Following are the properties of attachment object.

PropertyClient OnlyComments
creationDateFTime stamp when attachment created.
creatorIdFID of user who added the attachment.
creatorNameFName of the user who added the attachment.
descriptionFDescription of the attachment.
fileNameFName of attachment.
idFID of attachment.
lastModifiedDateFTime stamp when attachment last modified.
noteExtendedFIf true, note is an extended (long) note.
permissionsFPermissions associated with an attachment. allowRead field is for read permission, allowWrite is for write permission, allowDelete is for delete permission.
sizeFSize of the attachment in bytes.
taskIdFID of task to which attachment is added.
typeFType is attachment for files and Type is note for notes.
formattedCreationDateTIt contains attachment creation date according to user's UI settings.
formattedDescriptionTFormatted Attachment description. Used to display special characters present in attachment description in AEM Forms workspace.
formattedFileNameTFormatted Attachment Name. Used to display special characters present in attachment name in AEM Forms workspace. This is for notes only.
  1. User

    Following are the properties of user object.

PropertyClient OnlyComments
addressFAddress of the user.
commonNameFCommon name of the user.
descriptionFDescription of the user.
directGroupMembershipsFList of user's group.
displayNameFDisplay name of the user.
emailFEmail ID of the user.
isOutOfOfficeFTrue if user is out-of-office.
lastNameFLast name of the user.
firstNameFFirst name of the user.
oidFID of the user.
orgFName of organization of the user.
postalAddressFPostal address of the user.
telephoneFContact number of the user.
telephoneNumberFContact number of the user.
useridFLog in id of the user.
recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2