Free cookie consent management tool by TermsFeed

Process Task Link

On This Page

Function

a!processTaskLink( label, task, showWhen, openLinkIn )

Defines a link to a process task. Links can be used in charts, grids, hierarchy browsers, images, link fields, milestones, pickers, and rich text.

See also:

Parameters

Name Keyword Types Description

Label

label

Text

Text displayed as the link name the user clicks on.

Task

task

Task

ID of the process task to use as the address of the link.

Show When

showWhen

Boolean

Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true.

Open Link In

openLinkIn

Text

(Browser-Only) Determines where the linked content should open. Valid values: "SAME_TAB" (default), "NEW_TAB".

Usage considerations

Offline mobile

While the process task link component is partially compatible with offline mobile, using the component to link to tasks assigned to groups and social tasks is not supported for offline mobile. However, if a user accepts a group-assigned task while online, they will be able to access it offline.

Retrieving task IDs

  • To retrieve task IDs, use the Execute Process Report Smart Service and pull from the column that returns the list of IDs.

Examples

To experiment with examples, copy and paste the expression into an interface object.

1
2
3
4
a!processTaskLink(
  label: "Approval Task",
  task: 1
)

Feature compatibility

The table below lists this component's compatibility with various features in Appian.
Feature Compatibility Note
Portals Incompatible
Offline Interfaces Partially compatible

Can be used with offline interfaces if loaded at the top of the interface.

Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Incompatible

Cannot be used to configure a process report.

Process Events Incompatible

Cannot be used to configure a process event node, such as a start event or timer event.

Process Autoscaling Incompatible

Cannot be used in autoscaled processes.

Event Consumer Filter Conditions Compatible

Can be used in filter conditions.

Event Consumer Event Handlers Compatible

Can be used in event handler expressions.

The following recipes include usage of the Process Task Link.

  • Display a User's Tasks in a Grid With Task Links (Grids, Reports, Looping):

    Display the tasks for a user in a Read-Only Grid and allow them to click on a task to navigate to the task itself.

  • Offline Task Report (Grids, Filtering, Process Task Links, Task Reports, Looping):

    Display a task report for a user that will work in Appian Mobile, even when the user is offline.

  • Task Report Pattern (Grids, Filters, Process Task Links, Task Reports):

    Provides a simple way to create and display an Appian task report.

Feedback