Creating a System Manager workflow to execute on a schedule
System Manager workflow can execute on a schedule or after an event has been triggered. This can be accomplished by creating a simple batch file, and scheduling that batch file to execute with a third-party tool like Microsoft Task Scheduler.
Note: To avoid user permission conflicts, the following steps must be performed with highest privileges.
In the below example, the workflow makes the i-server restarts every day.
1. The user must first have a valid workflow. This particular workflow is a template that is delivered out-of-the-box with System Manager.
2. Save the workflow in .smw format.
3. In a text editor (such as Notepad), enter the command line statement that the task scheduler should execute.
MASysMgr.exe -w C:\filename.smw” “UserName=User1 “Password=1234”
4. Save the file in .bat format.
5. To test the new batch file, the user can execute the batch file by entering its file location in the command line as shown below.
6. Schedule the batch file to execute at a given time using a third-party task scheduling tool like Azkaban or Airflow. Windows Task Scheduler is a simple tool that is delivered with Windows. However, a number of task scheduling tools could be used for this step.
- Get link
- X
- Other Apps
Labels:
automate System Manager workflow
microstrategy System Manager workflow
mstr System Manager workflow
System Manager workflow
System Manager workflow to execute on a schedule
- Get link
- X
- Other Apps
Nice Blog keep posting micro strategy course
ReplyDelete