Module

frontend/src/utils/sessionStorage/localSsotController/attributes

Methods

# inner deleteUnusedAttributesFromDB(attributes, usedElementIds, robotId)

Cheks if there is more than one unused attribute object, if so delete it in the database
Parameters:
Name Type Description
attributes Array List of all attributes saved in the session storage
usedElementIds Array ActivityIds that are still being used
robotId String Id of the robot

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 136

# inner getAttributeObjectForActivity(activityId) → {Object}

Retrieves the attribute object for an activiy from session storage
Parameters:
Name Type Description
activityId String Id of the activity for which the attribute object will be retrieved

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 21

Attribute object for the selected activity or undefined if not available
Object

# inner getAttributeStorage() → {Array}

Retrieves the attribute object array from the session storage

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 13

Parameter from local storage
Array

# inner getRpaApplication(activityId) → {String}

Retrieves the rpa application for the selected activity from the session storage
Parameters:
Name Type Description
activityId String Id of the currently selected activity

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 121

Selected rpa application for the selected activity or undefined
String

# inner getRpaTask(activityId) → {String}

Retrieves the selected rpa task for the selected activity from session storage
Parameters:
Name Type Description
activityId String Id of the currently selected activity

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 35

Selected rpa task for the selected activity from session storage or undefined if not available
String

# inner setRpaApplication(robotId, activityId, newApplication)

Sets the rpaApplication attribute for an activity to a new application and sets rpaTask to undefined
Parameters:
Name Type Description
robotId string Id of the currently opened robot
activityId string Id of the currently selected activity
newApplication string Name of the selected rpa application

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 86

# inner setRpaTask(robotId, activityId, application, newTask)

Stores the rpa task for the currently selected activity in the session storage
Parameters:
Name Type Description
robotId string Id of the currently opened robot
activityId string Id of the currently selected activity
application string Name of the selected application
newTask string Name of the selected task

View Source frontend/src/utils/sessionStorage/localSsotController/attributes.js, line 50