Reject Task activity

An activity that rejects a record in Salesforce.


Reject Task activity

Configure the Reject Task activity

To configure the Reject Task activity, do the procedure in this topic.

Examples

Prerequisites

  • An approval process for an entity in Salesforce.

Good to Know

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Salesforce Salesforce icon tab.
      2. On the Salesforce Salesforce icon tab, drag the Reject Task Reject Task icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.

General Configuration

Specifies the basic settings for the Reject Task activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field Name Definition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Connection Timeout (Seconds)

Function:
Specifies the number of seconds permitted to complete an action before the connection stops.
Accepted Values:
An integer, representing a number of seconds.
Default Value:
600
Accepts Process Data Variables:
No
Limitations:

This field is available in these releases:

Reject Approval Process screen

Configures a reject approval process to reject a record in Salesforce.

Figure: Reject Approval Process screen

Reject Approval Process screen

Fields

Field Name Definition

Salesforce

Function:
Specifies the access token that connects to your Salesforce application.
Accepted Values:
A list of access tokens configured for your environment.
Default Value:
None
Accepts Process Data Variables:
No
Example:
Refer to:

Add Token Add Token icon

Opens this Screen:
Access Token for Salesforce
Function of this Screen:
Configure an access token to connect to Salesforce.
Example:
Refer to:

Approval Request ID

Function:
Specifies the approval request ID to reject.
Accepted Values:
A valid approval request ID.
Default Value:
None
Accepts Process Data Variables:
Yes
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Approver ID

Function:
Specifies the ID of the Salesforce user who approves or rejects the record.
Accepted Values:
A valid Salesforce user ID.
Default Value:
None
Accepts Process Data Variables:
Yes
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Comment

Function:
Specifies a comment to associate with the approval process.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
Yes

Store the Response in Custom Attribute

Function:
Specifies the final result that says if a record is approved or rejected in Salesforce.
Accepted Values:
A process data variable that accepts a Boolean value, or the text true or false.
  • True - The Salesforce record is approved.
  • False - The Salesforce record is rejected.
Default Value:
None
Accepts Process Data Variables:
Yes