How to input event parameters in custom modules?
Hi,
I'm trying to get my custom module to issue a command once a particular workflow has started. I've set in place an event listener to listen for "WorkflowActivityStartedEvent" but cannot figure out how to specify which workflow to react to. It currently reacts to any workflow that is issued.
Here is the relevant code:
handClickModuleViewModel.prototype.initialize = function () {
var _this = this;
this.app.eventRegistry.event("WorkflowActivityStartedEvent").subscribe(this, function (workflow) {
this.handClickVisibility.set(true);
document.getElementById('explorerImage').src="Resources/Images/Icons/Property.png";
});
Thanks for any help!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare