Change Database Records in a Database
To change one or more records in a database table, do the procedure in this topic.
Examples
Good to Know
- In most text fields, you can use process data variables as an alternative to literal data values.
- You can configure whether this activity waits for other activities before it runs.
For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?
- 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?
How to Start
- On the Application Explorer screen, do one of these:
- Do one of these:
- Add an activity:
- In the Process Builder, go to the Activity Library, and open the Database tab.
- On the Database tab, drag the Update Record activity onto your process.
- Change an activity:
- In your process, double-click your activity.
- Add an activity:
- Click Update Record .
Procedure
- On the Update Record screen, in the Database list, select your database access token.
To create a new access token, click Add Token . For more information, refer to Access Token for Database.
- (Optional) In the Schema list, select your database schema.
- (Optional) If you want to include the synonyms in the Table Name list that is created in the database, select Include Synonyms in the list .
- In the Table Name list, select the name of your database table or synonyms.
When you select the table name or synonyms, the Column Name shows the name of the column.
- (Optional) In the Condition (SQL Formula) field, enter the SQL WHERE clause that tells which database records to change. You can also drag the column name from the Column Name list, similar to using a process data variable.
- In the Columns and Data section, in the Column Name field, enter the name of the column or drag the column name from Column Name list.
- In the Column Value field, enter your column value or drag a process data variable from the Process Data screen.
- (Optional) Click Create to add a new row to add a variable or value.