Module

frontend/src/api/routes/robots/rpaAttributes

Methods

# inner deleteAttributesForActivities(robotId, unusedActivityListString) → {Object}

Delete attributes for the given activities by sending a call to the backend
Parameters:
Name Type Description
robotId String Id of the robot that is being used
unusedActivityListString String Stringified List of activityIds

View Source frontend/src/api/routes/robots/rpaAttributes.js, line 39

Mongoose query describing execution of call
Object

# async inner getAllAttributes(robotId) → {Array}

Will send a backend call to retrieve all attribute objects related to the provided robotId
Parameters:
Name Type Description
robotId String Id of the robot for which to retrieve the values

View Source frontend/src/api/routes/robots/rpaAttributes.js, line 11

Array of attribute objects related to the robot
Array

# async inner updateManyAttributes(attributeObjectList) → {Array}

Will send a backend call to update all given attribute objects with the new ones
Parameters:
Name Type Description
attributeObjectList Array All updated attribute objects to overwrite the old attribute objects with

View Source frontend/src/api/routes/robots/rpaAttributes.js, line 21

Array of all updated attribute objects
Array