Another basic newbie question I'm afraid. I've installed and properly configured the Active Directory plug in. Now what I"m trying to do but can't seem to work out is how to edit one of the basic workflows that came with it. The "Create a computer in an organizational unit" workflow is exactly what I need, but I want to edit the computer name.
If I look at the workflow Schema, then the 'createComputer' action element, I can not edit it. What I'd like to do is add a parameter or two that will show in the presentation pane to prompt the user the environment the computer will reside in - Dev, Test, or Prod. I just stumbled across changing the type of the control in the Presentation pane to do that. So I'd like to be able to concatenate the computer name together (various presentation parameters like the aforementioned) before the "System.getModule(.....).createComputer(parent, computerName,domainName) ; script gets called. But it won't let me so much as put in comment line.
Has to be something silly I'm missing. I've struggled with adding a "User Interaction" element before the built in element of this workflow, but got nowhere fast.
Thanks for any feedback.
Dave
You must right-click on the workflow/action and DUPLICATE, then edit and use your duplicated version. The VMware Engineering provided Library Workflows are Read Only for supportability
That's the first thing I do with any and all workflows I attempt to manipulate. Does not address the issue - still cannot edit the script page.
Hi!
The element you refer to is an Action element, which means the script just calls a specific action.
So if you need exactly that element in your workflow, just remember the name of the action, and put an Action Element in your workflow.
If you need to change some logic that happens there, you have to Duplicate or copy/paste the script from the Action. That's not possible when you are in Workflow editing mode, but in the "normal" view of the client.
Cheers,
Joerg
Joerg nailed it - any Library workflows you wish to customize are likely to also call library actions... so, you must ALSO duplicate the library action, edit that action, and update your workflow to call your cusom action
So in this case, all I would need to do is insert a scriptable task, link that element before the CreateComputer action element within the workflow, and have it pass the computerName parameter to that action element. In other words, the Out parameter of the scriptable task element needs to correspond / be passed to the input parameter of the CreateComputer action element, correct? Not sure how to do that last piece - the missing link, if you will.
Or maybe just delete the 'original' action element - I shouldn't be thinking out loud here on this forum, my apologies. I'll give that some thought and post results.
Thanks to all for your input.