Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

WF Stubs - Execution Sequence

$
0
0

I am a bit confused with the WF Stubs, their execution sequence etc.

 

Scenerio: I have added custom properties to kick off all the WF Stubs (so I could know when each of them is called during various state changes) and within each WF stub I have added a MachineLogEvent to log message when the workflow started (Ex: "WF Stub Building Machine" is logged to userLog when the workfflow was called).

 

All workflows are "PreActivityExecution" in ExternalWFstubs.xml (default file).

 

Custom properties added are:

props.png

Then I request a machine from vCac portal, progress as below:

seq.png

 

Question 1: Why was "Machine Registered" workflow not called

 

Question 2: Since the WF Stubs are "PreActivityExecution" -- this should have meant that "WF Stub Machine Provisioned" (logItem 30) should have been called before "Machine Provisioned" state (logItem 29) ? but thats not the case here. Am I missing something fundamental here ?

 

Thanks in anticipation.


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>