Name | Type | Comment |
---|---|---|
Record | Class | This class is to help the user interact with Records. Note: Remember to add Roles to Groups and add Groups to Users that will be a part of the workflow. |
Name | Type | Comment |
---|---|---|
archive | Method | Archive a Record from a Table |
Return | Requirements |
---|---|
Empty response. | none |
Name | Comment | Type |
---|---|---|
tableApiName | The Table api name. | string |
recordId | Identifier for the record. | string |
Example case:
Archive a record
Description:
This method will archive or 'soft' delete a record.
// Variables const tableApiName = "business_mate_task_list"; const recordId = "ba384680-859c-4bab-917b-d78d7ab3d7dc"; // Run the method and store the results in a variable const result = await Record.archive(tableApiName, recordId); // Test print the result console.log(result);
Start your 3 months of free trial now. Sign up and start your business flow right away
Get your business mate now