Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

Step 1

From the Automation Center navigation pane, click Other > Virtual Resources. The Virtual Resources list displays.

Step 2

Click the New button to display an empty Virtual Resource Details and enter the following values:

  • Resource Name = Resource A
  • Resource Limit = 5

Step 3

Click the Save button.
 

Step 4

Update the Timer1, Timer2, and Timer3 tasks that you created in the Creating a Simple Workflow tutorial.
 
For Timer1:

Html bobswift
<ol>
<li> Change <b>Time in Seconds</b> to 60.
<li> Click the Virtual Resources tab to display the Virtual Resources list for Timer1:
<ol>
<li> Click the <b>Edit</b> button, add <b>Resource A</b> to the Virtual Resources list, and click <b>Save</b>.
<li> Click the Details icon for Resource A to display its Task Virtual Resource Details. 

 

Html bobswift

&nbsp;
<li> Change the <b>Amount</b> (number of resource units required from the virtual resource) from 1 to 4 and click the <b>Update</b> button.
</ol>
</ol>

 
For Timer2:

Html bobswift
<ol>
<li> Change <b>Time in Seconds</b> to 30.
<li> Add Resource A and change the <b>Amount</b> to 4.
</ol>

For Timer3:

Html bobswift
<ol>
<li> Change <b>Time in Seconds</b> to 20.
<li> Add Resource A and keep the <b>Amount</b> at 1.
</ol>

Step 5

Open Resource A and click the Tasks tab to see that Timer1, Timer2, and Timer3 are listed.
 

Step 6

Create a Time Trigger called Trigger A, and select Task1, Task2, and Task 3 in the Task(s) field, and enter a Time three minutes from the current time.

Step 7

Click the Save button, right-click Trigger A on the Triggers list, and click Enable.

Step 8

When the trigger is satisfied, only Timer1 or Timer 2 will run, along with Timer3. When Timer1 or Timer 2 finishes, the other will run run. Display the Activity Monitor and note that Timer1 or Timer 2 is waiting in Resource Wait status.
 

Step 9

In the Virtual Resource Details, click the Currently In Use By tab and observe which tasks are running on this virtual resource. Note that this display does not automatically refresh.

...