test the workflow
Hi peoples, I have well configured orchestrator and now I'm testing the workflow.
The first workflow that I tested is library\vcenter\virtual machine management\move and migrate\MIGRATE VIRTUAL MACHINE
I right click and choose RUN the workflow, after having entered all the settings, the selected VM is migrated correctly.
Now, I am testing library\vcenter\storage\DISPLAY all DATASTRES AND DISKS
I right click and choose RUN the workflow. It runs and ends, but where I can see the display of the results?
Thanks in advance and best regards
VMB
Hello
You can see the result in the "Logs" tab on the completed workflow.
Tags: VMware
Similar Questions
-
Missing values in the workflow
I copied the 'Clone the virtual machine, no customization' workflow and created a wrapper for it where I put all the values except the name of the virtual machine that will be created. Then I used the plugin Firefox REST Client to do a POST for the REST of the workflow endpoint and include the value of the name of the computer like this:
{
"settings":
[
{
"value": {"chain": {"value": "newVM001"}},
"type": "string",.
'name': 'name '.
}
]
}
This set works as expected and a new virtual machine is deployed with the name I said. Awesome!
Now, I take the exact code and drop it into my app, set all required values and test my REST call. The workflow is started, but it fails with the error:
Cannot create VcVirtualMachineRelocateSpec: TypeError: cannot read a 'parent' of undefined property (name of the dynamic Script Module: getRelocateSpec #8)
After chasing down the issue for some time, I discovered that all the values I put in my wrapper are reports such as undefined/null. Thus, for example in the getRelocateSpec Action, 'pool' and 'host' are not defined when I send the request in my application, but they have values defined the package when I send the request via the customer REST FF.
Is this a bug or am I missing something here?
Just to be sure, I tried with JSON and XML, same case. I see the new VM name being received by the flow of work, but for some reason, all the values defined by the wrapper were wiped out.
The following XML code:
" <-xmlns = execution context" http://www.VMware.com/VCO "> "
< Parameters >
< description parameter = "VM" type = "string" name = "name" >
< string > newVM001 < / string >
< / parameter >
< / Parameter >
< / execution context >
I managed to solve the problem. The account I used to run the workflow has not been correctly permissioned. Once I brought the permissions that everything worked as expected.
-
Curl call to start the workflow with the Type of table / Composite
Hello I'm trying to start a workflow with an array type / Composite.
I'm using curl to make the call and post fields look like this when you send just a string:
{
"settings":
[
{
'value ':
{
"chain": {"value": "test"}
},
"type": "string",.
"name':"vm. "
"scope": "local".
}
]
}
How would he format if I had a type of table / Composite?
The composite type has the format of the Type / size and String / number
Well, I don't know like what your workflow, but here is what looks like my quick test workflow:
MESSAGE: https://YOUR-VCO-SERVER;8281/vco/api/workflows/475a3967-2c29-4140-a63f-ec1822ec330b/executions/
Headers:
Content-Type: application/json
Accept: application/json
And here is the json work to get into the body:
{ "parameters": [ { "value": { "array": { "elements": [ { "composite": { "type": "CompositeType(Type:string,size:number):drives", "property": [ { "id": "Type", "value": { "string": { "value": "NTFS" } } }, { "id": "size", "value": { "number": { "value": 20 } } } ] } }, { "composite": { "type": "CompositeType(Type:string,size:number):drives", "property": [ { "id": "Type", "value": { "string": { "value": "ext3" } } }, { "id": "size", "value": { "number": { "value": 25 } } } ] } } ] } }, "type": "Array/CompositeType(Type:string,size:number):drives", "name": "drives", "scope": "local" } ] }
I've included the workflow here as well.
Just a simple script:
System.debug("Drives:"); for each (drive in drives){ System.debug("================"); System.debug("Type: "+drive.Type); System.debug("Size: "+drive.size); }
My results:
-
Create the Scheduler in the workflow
Hi all
I question even once, I try to create workflows for the provision of the vm... The provision of vm for the test environment for the virtual machine would have expired time... Let's say that my request of the VM user with a week time out time, I want to create clone vm workflow who have the ability to set the VM to suspend the State until the user send the time extend confirmation but if not the virtual machine will automatically be deleted. Is it possible to create the Planner like this?... Thanks for the suggestion
For a quick/simple implementation, the following could be done:
create a workflow to "Deploy new VM" which returns a 'VC:VirtualMachine' object - it could be something simple as one of the Clone with the customization of the library packaging workflows.
Then, create the user workflows, for example "available with Timeout and Decom":
After you have created the virtual machine, use a scriptable for calculation date task to set the retirement date. Pass this date, e-mail of the user and the virtual computer object in the element of regular workflow at the end of the workflow. When you are prompted for the workflow to run when you put the "Annex Workflow" element on the diagram, you will need to have your ready 'Delete VM' workflow.
The workflow to delete VM should look approximately like this:
When the workflow runs through the scheduled task created in the workflow of the provision, it will be:
- E-mail address of the user specified for the workflow of provision of interaction
- Sets a timeout for the user to answer
- (possibly set a time-out on the user interaction (shown with red dotted lines) Re-send the e-mail message)
- Interaction with the user prompt user if they wish to extend
- If so, set a new date of decommissioning and schedule the task to run the workflow delete VM on this date
- If not, use the workflow Library to 'delete virtual machine '.
Above is a quick mock-up and dirty of what this solution pourrait look like. When something like that put into production, a lot of things happen and should be considered. These things can vary from environment to environment. Good luck.
I must emphasize that vCloud Automation Center has integrated similar functionality and includes even a portal facing the user.
-
Get the workflow parameter value before the end of the SOAP client workflow execution
I'm calling webservices SOAP Orchestrator of my request to run a workflow. I want to get a parameter/attribute value before execution of the workflow.
Brief:
I have a XYZ workflow that adds two numbers provided by my application. After that my workflow perform some other features that say 5 minutes.
My application is the result of the addition from the addition is performed. I don't want to wait for these 5 minutes to finish after what my worlkflow is finished and then obtain the result.
Hello DeepakPN - first of all, if you use vCO 5.x, we strongly recommend to use the api instead of the old api SOAP REST.
Now, to answer your question:
When you run a workflow, the returned soap body includes a return workflow id: this is your workflow token id - essentially the Runspace of your workflow. He looks a bit like this:
ff80808141e74b090141f05c5d2c00f7 There are several additional lines less than retail, but I left it as an important component of the info here is this tag
. The value that it contained should be used with the operation "getWorkflowTokenForId". By providing this ID and your credentials, the resulting SOAP body will contain details of your performance at the time of your request. So, if you have your amount stored as an attribute at the time that you run the query, you will see the results. For my simple test, here is my operation "getWorkflowTokenForId" for a test flow that I came through SOAP: ff80808141e74b090141f05c5d2c00f7 Any Test 1a568e2e-5c15-4b68-9bab-20cb955f0004 item0 completed completed 20131025120447-0400 20131025120447-0400 > > ]]> Inside the
tag, there is a tag that contains each of my entries/attributes. In the code above, 'anyInput' is the input parameter for my workflow and of the "inputTypeName" as an attribute. Hope this helps
-
ScrollBar on the presentation of the workflow element missing
I exported a flow of work of one of our servers of 4.1.1_733 build VCO to a new server build 5.1.1_2942. This particular workflow changes the values stored in a configuration item. When you run the workflow running on the 4.1.1 server, it displays a scroll bar on the right side of the presentation-it missing on the 5.1.1 window server, so you cannot access certain values. Anyone know what might be missing? I don't see a property within the WF to set anything for this. Thank you.
I'll let Burke reproduce this test. As a work around you can add steps / groups in your presentation.
To export a package, that you go in the package tab, click the icon to create a new package, change the package, add your workflow. Save the package, click the icon to export the package and attach it here.
-
How get the workflow of the package belongs to?
Hello!
Is there a better way to get the package (or package list) the workflow is part of the script (which is part of the same workflow), rather than iterating through all the packages the server and find specified workflow in them?
Thank you.
Some examples of code. I've updated some code me his words so please test. You need succeed the workflowId that you are looking for.
var allPackages = Server.findAllForType("Package"); var packagesForWorkflow = new Array(); for each (var pack in allPackages) { for each (var wf in pack.workflows) { if (wf.id == workflowId) packagesForWorkflow.push(pack); } }
-
How to purge the Workflow queue after upgraded to R12 before the Mailer WF?
Hello
We are about to upgrade to R12.1.3 of R11.5.9.
As part of the test, I configured and started the workflow Mailer in the new system. As soon as I did, the system began to send only a ton of notifications of recent approvals of requisition apparently waiting in line in the system. WF Mailer has been down since I did the last upgrade test.
We intend to approve applications from before the changeover in the old system, so there should be no e-mail notifications in the waiting. Is there a way to msg_state of these notifications was updated in the table wf_notification_out with a value of "READY", so we can ensure that we will have a clean system, and users will not receive notifications about recent requisition approvals?
Thank you
SinanPlease see these documents.
Note: 847889,1 - emails of Notification Workflow stop during Clone
Note: 828812.1 - how to stop the old e-mail Messages in Notification Workflow coming out during the activity of Clone
Note: 603003.1 - how to remove Workflow on a Test or a cloned Instance data
Note: 372933.1 - how to purge notifications by e-mail of the workflow queue so that the e-mail is not sent
Note: 736508.1 - how to cancel e-mail for the particular Type of Workflow NotificationsKind regards
Hussein -
Run the Workflow as a specific user
Hello world
My English is not great, so I'm sorry for the typos, I'll do.
I have a little problem with the management of rights in vCenter Orchestrator. I just created a new environment Orchestrator. I created the workflow a bit like for example to stop or restart virtual machines. My problem is that I don't want all users to be able to manage each VMs. To realize that I need configure the Orchestrator to use a single session per user. Then I set the permissions on the server vCenter Server. Which works very well.
Know that I created another workflow that clone of an existing virtual machine. But as the Orchestrator uses a single session per user, vCO users do not have sufficient rights to clone a virtual machine. This is because I would like to run the cloning-workflow to run as another user. I already discovered "credentials of change" - Action, but know the users do not have sufficient rights to change credentials. I won't give them administrator rights, at least until they are able to change the workflow by using the Orchestrator Client.
So I tried to restrict access using Client Orchestrator. But this also seems to be impossible without denying web access. Now I'm stuck. Is there any solution for this?
Thank you very much.
OK, I just did the test on my side so I understand better what is happening.
It seems that the admin should be just defined the workflow approval and each parent to the root of the change. It's admin roles give the right to create / modify / delete.
I think it's the same situation that you are experiencing.
A work around would be to use the firewall block the vCO for different hosts data port that the server of vCO and maybe your admin workstation.
Maybe another would be to program an original workflow workflow (to test, it can work as system).
-
How to move the workflow of an orchestrator server to another
I have Setup initially orchestrator on a trial basis spread and the configuration of the workflow, now, I drove outside the actual configuration and would like to move the workflow that I did in the original test on my current Server Setup. Any ideas?
Now you can see one of my favorite parts of the Orchestrator.
On your dev server, open the Client Orchestrator
Click on packages
Create a new Package
Change the package
Click the 'Workflows' tab in the right
Add all the workflow that you created
All flows of dependent work, actions, etc. will be added automatically
Click on each of the other tabs in the right and did not forget to add additional resources that you created
Save your package and close
Now, you have two choices:
Export the package, and then import it on the production server
Right-click on the package and select "synchronize".
When you are prompted, enter the IP address of the server production or FQDN, username and password
In both cases above, you will be provided with a summary screen that shows the items that will be added to the production server (represented by a green arrow).
Enjoy!
-
State of the PO workflow and how to disable the workflow IN.?
Hi all
How to check the status of the PO workflow and how to disable the workflow PO in oracle 11.5.10.2?
Thanks in advance.
SyedPlease see these documents.
11i: Oracle purchase Po approval collecting test data [ID 361880.1]
11i: iProcurement activity Workflow Status of approval [ID 224583.1] Test
(Photos) How to capture Debug / Log / Trace of files during the purchase order / request for approval process? [409155.1 ID]
How to diagnose a purchase approval of Document routing [ID 603232.1]Thank you
Hussein -
Don't know how to test the output of the PL/SQL function
I have a function in the package '. " XCCC_PO_APPROVALLIST_S1' called 'does_cpa_exist ':
The pl/sql valid and commits OK in TOAD.FUNCTION does_cpa_exist( p_document_id IN NUMBER ) RETURN BOOLEAN IS l_cpa_exists VARCHAR2(100); BEGIN SELECT 'Y' INTO l_cpa_exists FROM po.po_requisition_lines_all prla , ap.ap_suppliers pv , ap.ap_supplier_sites_all pvsa WHERE prla.vendor_id = pv.vendor_id AND prla.vendor_site_id = pvsa.vendor_site_id AND pv.vendor_id = pvsa.vendor_id AND prla.requisition_header_id = p_document_id AND EXISTS( SELECT pha.vendor_id FROM po.po_headers_all pha WHERE pv.vendor_id = pha.vendor_id AND pvsa.vendor_site_id = pha.vendor_site_id AND pha.org_id = fnd_profile.VALUE('ORG_ID') AND pha.type_lookup_code = 'CONTRACT' AND pha.authorization_status = 'APPROVED'); RETURN TRUE; IF (p_document_id IS NULL) THEN RETURN FALSE; END IF; EXCEPTION WHEN OTHERS THEN RETURN FALSE; END does_cpa_exist;
I ran the sql in the EBS, and took the path of the workflow looks like that function returned a value of false.
I pass to the function a document_id.
I was wondering how I might test the output of the function from TOAD?
I tried:
But get errors:select XCCC_PO_APPROVALLIST_S1.does_cpa_exist(1017934) from dual;
I do probably bad 101 things here, but I would still ask thinking and risk of being shouted at.ORA-06552: PL/SQL: Statement ignored ORA-06553: PLS-382: expression is of wrong type
Any advice appreciated,
Thank youI was wondering how I might test the output of the function from TOAD?
Try
begin if xccc_po_approvallist_s1.does_cpa_exist (1017934) then dbms_output.put_line ('True'); else dbms_output.put_line ('False'); end if; end; /
-
HOW URL WSDL Web Service: Web Service call in the workflow
have a 1 step, Web service workflow: call the Web Service. I wish I could pass a string parameter to the url of the endpoint for the parameter of the URL of the WSDL in the Web service settings dialog box as oppose to the transmission of the actual url (http://machine/some_service.svc?wsdl).
The reason is that we are moving the workflow between environments DEV, TEST, etc., we do not want to reopen the workflow in each env and update the DEV, TEST endpoint.
I tried the following without success
1. create a parameter of type String devURL
2 by default, set the value on http://machine/some_service.svc?wsdl
3 Goto service web appeal stage and set the URL of the WSDL to the /process_data/@devURL
I get the error:
java.io.FileNotFoundException: \process_data\@devURL
at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity (unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion (unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse (unknown Source)
at org.apache.xerces.parsers.XMLParser.parse (unknown Source)
at org.apache.xerces.parsers.DOMParser.parse (unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse (unknown Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
to org.apache.axis.wsdl.gen.Parser$ WSDLRunnable.run (Parser.java:361)
at java.lang.Thread.run(Thread.java:595)
I don't think that the URL of the WSDL parameter can even accept a parameter as the username + password settings.
Is this possible? OR if not, how can this be achieved?
Under the Service Web Options change 'The Option' use 'variable' instead of 'literal '. Then click the Green + and it will create a variable of type WebServiceSettingBean.
You can use a setValue before the stage of web service to set this variable.
Jasmine
-
Hi all
EBS r120.0.5
Objective: after a clone or on demand (on dev/test) to the workflow queues empty to ensure that nothing is sent during activation of work (install us override and crush all counting apps with a generic email address, but for some tests of dev, sometimes you have to remove the substitution).
I usually have to run the "obsolete Purge data Workflow Runtime", temporary permanent and for and plan the "Workflow queue control cleaning" but I don't think that simply emptying queues, is it?
Can I track note Speeding Up and purge Workflow [132254.1 ID] and run ' run wf_purge.total; execute wf_purge.totalperm; run wf_purge.notifications;'? But I think this will only affect the process no data? Pending data will always be there and will not serve?
Thank you
FelixFelix,
Please see (what's paintings touch Workflow Purge obsolete data program (FNDWFPR)? [REF 559996.1]) and (FAQS on the purge of data Oracle [ID 277124.1] Workflow - MAKING workflow TABLES I need to CHECK?).
Thank you
Hussein -
Need to activate the workflow on check-in
Hello
I made a custom control in the page on my web site. Now, I want that whenever the user checks the document in a workflow, but I have no idea on how to apply it.
Appreciate any kind of help as soon as POSSIBLE.
Thank you
AbhijitYou must use a workflow of criteria and not a basic workflow.
Create a new workflow of criteria in the workflow Admin Applet
Choose the criteria - for the purpose of the test to choose a security group, check the definition of criteria, and then specify the criteria.For example, you can set the Group of public safety criteria and content type is 'Document '.
Add steps / users to your workflow
Then you must enable the workflow.Whenever you are looking for now in a 'Document' in the Group of public safety, he will enter this workflow
Tim
Maybe you are looking for
-
How install 8600 Wireless does not connect to my ASUS TF600T Tablet?
ASUS TF600T (E7509 & E7511) Tablet will not accept HP Officejet Pro 8600? Help
-
Qosmio G50-115 - overheating?
Off my 10 day old G50, it refused to start. I noticed the white a/c light was flashing orange which, according to the manual, indicated a problem of heat dispersion. I checked the fan cover on the back and made sure nothing was blocking the. Everythi
-
HP Pavilion g6 2210us - USB 3.0 drivers need
I've recently switched to Windows 7 Ultimate (32 bit) and now none of my USB ports work. I need the drivers please. HP Pavilion g6-2210us Hardware ID: PCI\VEN_1022 & DEV_7812 & SUBSYS_1849103C & REV_03PCI\VEN_1022 & DEV_7812 & SUBSYS_1849103CPCI\VEN_
-
Hello I installed Studio 10 on Windows 7 X 64 MagicRAR, but after installation I've faced "Windows Explorer has stopped working" error several times. It happens every time I use my PC and I don't know why? I'll be glad if someone could help me... Ple
-
How can I me floor device works with my sansa clip zip 4 GB mp3 player?
Device stage seems to be a nice software to sync music from computer to my new mp3 player, but it doesn't seem to be in my new Windows 7 software? What should I download it? Or what I need to download (also) on the Sansa Clip Zip? Help please..! Than