Move Post To Trash activity

An activity that deletes a WordPress post.


Move Post To Trash activity

Configure the Move Post To Trash activity

To configure the Move Post To Trash activity, do the procedure in this topic.

Prerequisites

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In Process Builder, in the Activity Library, open the WordPress tab.

    Open WordPress tab
  3. On the WordPress tab, drag the Move Post To Trash activity onto your process.

    Drag Move Post To Trash activity

General Configuration

Specifies the basic settings for the Move Post To Trash activity.

Figure: General Configuration screen

General Configuration screen

Good to Know

  • Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.

Fields

Field NameDefinition

Display Name

Description:
Specifies the activity name that shows in your process.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None
Accepts 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

Description:
Specifies an optional text description for your activity.
Allowed Values:
More than one line of text.
Default Value:
None
Accepts Variables:
No

Move Post To Trash Configuration screen

Specifies the configuration to move a post from a WordPress site to the trash.

Figure: Move Post To Trash Configuration screen

Move Post To Trash Configuration screen

Fields

Field NameDefinition

WordPress

Description:
Specifies the access token that connects to your WordPress.
Allowed Values:
A list of access tokens configured for your environment.
Default Value:
None
Accepts Variables:
No

Create Add Token icon

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

Filter By Post Status

Description:
Specifies the post statuses to filter to be moved from the WordPress site to the trash.
Allowed Values:
  • Publish - Filters the posts whose status is Published.
  • Scheduled - Filters the posts whose status is Scheduled.
  • Draft - Filters the posts whose status is Draft.
  • Pending - Filters the posts whose status is Pending.
  • Private - Filters the posts whose status is Private.
  • All - Filters the post with all status.
Default Value:
Publish
Accepts Variables:
Yes

Move To Trash Using Post Title

Description:
Specifies whether to move a WordPress post to the trash based on the post title.
Allowed Values:
A post title from the list.
Default Value:
None
Accepts Variables:
Yes

Move To Trash Using Post URL or ID

Description:
Specifies the ID or URL of the WordPress post to be moved to trash.
Allowed Values:
The ID or URL of the WordPress post.
Default Value:
None
Accepts Variables:
Yes