- 8 minutes to read
- Print
- DarkLight
- PDF
How to manage tasks
- 8 minutes to read
- Print
- DarkLight
- PDF
This document provides a step-by-step guide on how to create, edit, run, schedule, disable, enable, and view the details of tasks in Task Manager.
Path to access
- On senhasegura, in the upper-left corner, click the Grid Menu, represented by the nine squares, and select Task Manager.
- In the side menu, select Tasks.
Create a task
Requirements
- Being included in an access group. For more information, access the document on How to manage access groups.
To create a task in Task Manager, follow the steps below:
In the upper-right corner of the Tasks screen, click the View actions menu, represented by the three vertical dots icon, and select New.
On the Task screen, navigate through the following tabs:
Main information tab:
- Task identification name*: enter a human-readable name to identify the task created.
- Environment*: click the downward arrow to select the environment where the task will be executed.
- System*: click the downward arrow to select the system where the task will be executed.
- Tags: enter keywords to help identify and filter the task.
- Plugin: click the downward arrow to select the task’s executor plugin.
- Select template to use*: click the downward arrow to select the template to run the task.
- New variable +: click the plus icon to add one or more variables. After clicking the plus icon, enter an identifier and a value for the variable. Click the trash can icon to remove the added variable.
- Use a registered credential to access all devices: check the checkbox to define that a registered credential is used to authenticate to the device where the task will be executed.
- Access credential registered in the system: this field is enabled when checking the checkbox above. Use the downward arrow to select one of the registered credentials.
- Use own credential to connect: check the checkbox to use your own credential to authenticate to the device where the task will be executed.
- Credential username: unchecking the Use a registered credential to access all devices field enables this field. Use it to enter a credential that is not registered in senhasegura.
Devices for execution tab:
- Devices +: click the plus icon to open the Devices screen and associate one or more devices with the created task.
- Click Add to proceed with adding the devices or Cancel to quit the action. Click the trash can icon to remove an added device.
InfoThe items with an asterisk are mandatory.
As soon as the task execution begins, a separate operation is created for each involved device. Therefore, each device will have its own execution log, and the success or failure of the task execution on one device doesn’t prevent or affect the execution of the next.
- Click Save.
Edit a task
Requirements
- A task registered in Task Manager. For more information, access the Create a task section of this document.
To edit a task registered in Task Manager, follow the steps below:
- In the list displayed on the Tasks screen, identify the task you want to edit or use the filters to search for it.
- In the Action column, click Edit, represented by the paper and pencil icon.
- On the Task screen, make the necessary changes.
- Click Save.
A pop-up window with the message “Success. Data saved successfully!” confirms the action.
- Click the X icon in the upper-right corner of the screen to close it.
Run a task
Requirements
- A task registered in Task Manager. For more information, access the Create a task section of this document.
- A device associated with the task.
To run a task registered in Task Manager, follow the steps below:
- In the list displayed on the Tasks screen, identify the task you want to run or use the filters to search for it.
- In the Action column, click the three vertical dots icon and select Run task, represented by the play icon.
- On the Run task screen:
- Reason: click the downward arrow to select one of the registered reasons.
- Governance Code: enter the governance code.
- Reason: enter a descriptive text with the reason for running the task.
The fields above may be accompanied by an asterisk to indicate that they are mandatory. Their mandatory status is defined in the Settings tab when an access group is created.
- Click Run task.
If this task was registered in an access group that requires approval to run, you can find more information on how to track the approval workflow status in the document on How to manage requests.
Schedule a task
Requirements
- A task registered in Task Manager. For more information, access the Create a task section of this document.
To schedule the execution of a task registered in Task Manager, follow the steps below:
- In the list displayed on the Tasks screen, identify the task you want to schedule or use the filters to search for it.
- In the Action column, click the three vertical dots icon and select Schedules, represented by the clock icon.
- On the Schedules screen, in the bottom-right corner, click Schedule running.
- On the Schedule task screen:
- Reason: click the downward arrow to select one of the registered reasons.
- Governance Code: enter the governance code.
- Justification: enter a descriptive text with the reason for scheduling the task.
- Days for execution: check the checkboxes to select the days you want the task execution to occur.
- Periods for execution: check the checkboxes to select the periods of the day you want the task execution to occur.
- Minimum interval between runs: define the minimum interval between executions. In the first field, enter a number between 0 and 60, and in the second field, click the downward arrow to select Minutes, Hours, Days, or Months.
The Reason, Governance Code, and Justification fields may be accompanied by an asterisk to indicate that they are mandatory. Their mandatory status is defined in the Settings tab when an access group is created.
- Click Save.
If this task was registered in an access group that requires approval to run, you can find more information on how to track the approval workflow status in the document on How to manage requests.
Disable a task
Requirements
- An active task registered in Task Manager. For more information, access the Create a task section of this document.
To disable a task registered in Task Manager, follow the steps below:
In the list displayed on the Tasks screen, identify the task you want to disable or use the filters to search for it.
In the Action column, click the three vertical dots icon and select Disable, represented by the trash can icon.
In the Confirmation pop-up window, you’ll view a message similar to the one below:
“Are you sure you want to inactivate the record: [task name]?”Click Yes to confirm.
The pop-up message “Success. Task disabled successfully” confirms the action.Click the X icon in the upper-right corner to close the window.
Enable a task
Requirements
- A disabled task registered in Task Manager. For more information, access the Disable a task section of this document.
To enable a task registered in Task Manager, follow the steps below:
On the Tasks screen, locate the Enabled filter among the search fields and select No.
Click Filter.
From the list of disabled tasks, identify the task you want to enable or use the filters to search for it.
In the Action column, click the three vertical dots icon and select Enable, represented by the check icon.
In the Confirmation pop-up window, you’ll view a message similar to the one below:
“Are you sure you want to enable the record: [task name]?”Click Yes to confirm.
The pop-up message “Success. Task successfully activated” confirms the action.Click the X icon in the upper-right corner to close the window.
View task details
Requirements
- A task registered in Task Manager. For more information, access the Create a task section of this document.
To view the details of a task registered in Task Manager, follow the steps below:
- In the list displayed on the Tasks screen, identify the task you want to view or use the filters to search for it.
- In the Action column, click the three vertical dots icon and select Executions, represented by the three horizontal bars icon.
- On the Executions screen, view a report with the following task details: ID, Total, Processed, Error, Status, Requester, Request date, Environment, System, Tags, Execution type, and Action column.
- In the Action column, click View operations, represented by the three horizontal bars icon.
- On the Operations screen, view a report with the following operation details of the selected task: ID, Task name, Environment, System, Tags, Device, Status, Result, and Action column.
- Identify the operation whose details you want to view, and in the Action column, click View details, represented by the magnifying glass icon.
- On the Operation details screen, view all the details regarding the operation, such as its credential and device, Requester, Request date, Scheduling date, Operation, and Status. Also view the details regarding the attempt to execute the operation such as Template, Version, Start, End, a message informing if the operation execution was successful, and Logs.
You can also view the details of a task through the path Grid Menu > Task Manager > Executions > A task in the list > Action column > View operations (represented by the three vertical bars icon) > Operations screen > An operation in the list > Action column > View details (represented by the magnifying glass icon) > Operation details screen
Next
How to manage access groups
How to manage requests
How to manage approvals
Do you still have questions? Reach out to the senhasegura Community.