Do CPO dynamic media transforming workflow using the API or any other means?

Do CPO dynamic media transforming workflow using the API or any other means?

Could we create or update workflows when running?

There is no workflow WSDL. But I'm not sure of the custom here. Can you describe your use case or what you try to do this will have to change a process/workflow during execution?

Tags: Cisco DataCenter

Similar Questions

  • Runtime error in workflow using the API Web service with a VC:VirtualMachine parameter

    Hello

    I took the example for the execution of a workflow using powershell via the site Web of Joerg Lew Web service API and changed to pass an input parameter to the name of the Virtual Machine.

    I have no error in powershell, but when I check the events for the workflow in Orchestrator I see it failed with the error "Validation error for the parameter"vm". It's using out of the box "Start virtual machine and wait" stream  Is a problem with a virtual machine name is paid as a string? I tried to use the full name of the virtual machines and the ID.  I have provided the code below.  Can someone help with how to get this working?

    $vcoWS = new-WebServiceProxy-VCO, VCO - Namespace - Uri of the class http://192.168.1.65:8280 / vmware-vmo-webcontrol/webservice? WSDL
    $workflows = $vcoWS.getWorkflowsWithName ("Start the virtual machine and wait", "vcoadmin", "vcoadmin")
    $workflow = $workflows [0]
    # print the input parameters
    $workflow.inParameters
    # generates the table with input parameters (WorkflowTokenAttribute - objects)
    $inparams = @)
    # fill in the table, an entry for each input parameter
    $inparams += new-Object - TypeName VCO. WorkflowTokenAttribute
    $inparams [0] .name = "VM".
    $inparams [0] .Guy = "VC:VirtualMachine."
    $inparams [0] .value = "vm-113.
    #... turns on and off (use $null on $inparams if the workflow has no input parameter
    #... und implement
    $workflowToken = $vcoWS.executeWorkflow ($workflow.id, $inparams, "vcoadmin", "vcoadmin")

    Thank you

    David

    Hi David,

    > game $inparams [0] = "VC:VirtualMachine".

    This means that the type of entry for this workflow is an object of type 'VC:VirtualMachine '. So, passing the name of the virtual machine would not work. The expected value for such an entry is the string representation of an object which, in the case of the vCO is a unique object identifier. The object id unique vCO looks like this:

    dunes://service.dunes.ch/CustomSDKObject?ID= "15.23.34.34/vm-590'&dunesName='VC:VirtualMachine".

    but you don't need to know this (technically, if you know the ip address of the vCenter and the id of the virtual machine can be built but is not a recommended practice).

    The right way to find the string representation of the object "VC:VirtualMachine" with the name you need to do a few more things. I'll do the example in java and it should be easy to turn into powershell.

    QueryResult result = vcoWS.find ("VC:VirtualMachine", "xpath:name = \" vm-113\ "", username, password);

    String stringObjectRepresentation = null;

    If (result.getTotalCount () > 0) {}

    FinderResult = result.getElements () FinderResult [0];

    stringObjectRepresentation = finderResult.getDunesUri ();

    }

    Thus, the stringValue should be attributed to the line:

    $inparams [0] .value = stringObjectRepresentation

    Hope it will help.

    Without doubt, Joerg would be able to illustrate this solution with powershell later ;-)

  • Renaming of files using the batch file or other means of batch

    I have several hundred .pdf files and would like rename them by removing the first 10 characters of each file name.

    Is there a .bat file or an easy way to do this?

    Thank you very much.

    All the first 10 characters of each file name are the same.

    I love this PowerShell command, but it only works if you take the same on each file name.

    Get-Item. \ *. * | ForEach-Object {Rename-Item $_ ($_.)} (Nom: remplacer "a", "b")}

    It gets a list of all files in a folder, then for each one, replaces the letter A with the letter b. anywhere in the file name.  Of course you can tweak it how you want to replace ""-copy "with" "(empty string to null), or anything else."  I use it often.

  • Using the API to convert Microsoft Word doc in PDF/A?

    I have a Delphi application in which I generate a PDF from a MS-Word document.

    To create a PDF file, I use an API. Here is the part of the code (only what is interesting for now).

    This API is Adobe Acrobat Professional 9.

    What I want is to create a document using this API or any other PDF/A that should be here.

    Any ideas?

    Thank you.

    Israel

    Environment:

    Delphi 7

    Adobe Acrobat Professional 9

    --------------------------------------------------------

    var

    AVDoc: Variant;

    PDDoc: Variant;

    ArqDOC, ArqPDF: OleVariant;

    County: integer;

    Start

    ArqDOC: = "c:\temp\test.doc"

    ArqPDF: = 'c:\temp\test.pdf ';

    Try

    AVDoc: = CreateOleObject ('AcroExch.AVDoc');

    AVDoc.Open(ArqDOC, '');

    Application.ProcessMessages;

    County: = 0;

    While (not AVDoc.IsValid) and (count < 15) don't

    Start

    Sleep (1000);

    Inc. (Count);

    end;

    If AVDoc.IsValid then

    Start

    PDDoc: = AVDoc.GetPDDoc;

    PDDoc.SetInfo ("Title", ");

    PDDoc.SetInfo ("Author", ");

    PDDoc.SetInfo ("Subject", ");

    PDDoc.SetInfo ("Key words", ");

    PDDoc.Save (1 or 4 or 32, ArqPDF);

    Application.ProcessMessages;

    PDDoc.Close;

    end;

    AVDoc.Close (False);

    Finally

    VarClear (PDDoc);

    VarClear (AVDoc);

    end;

    end;

    -------------------------------------------------

    The use of AVDoc.Open () on any other than PDF format is not supported.

  • Problem update the payload using the API of Services of Workflow task

    I have problems to update the part of the payload of a task by using the API of Services of Workflow (10.1.3) using the SOAP protocol. Try to use the setPayloadAsElementmethod, it seems, that the element of the payload is deleted rather than being defined.

    The purpose of the payload is constructed as follows:

    DocumentBuilder builder is DocumentBuilderFactory.newInstance () .newDocumentBuilder ();.
    Document document = builder.newDocument ();

    Support useful item = document.createElementNS ("http://xmlns.oracle.com/bpel/workflow/task", "payload");
    Child element = document.createElementNS ("http://xmlns.oracle.com/pcbpel/test/order", "command");
    payload.appendChild (child);

    The following lines are used to retrieve and update the subject of the task:

    IWorkflowContext context = getWorkflowContext (userId);
    Task task = taskQueryService.getTaskDetailsById (context, taskId);

    task.setPayloadAsElement (payload);
    taskService.updateTask (context, task);

    However, for some reason, it seems that the payload is not set correctly and in time updateTask is called on the TaskService object, payload of the task is not available. In turn, this causes an error when the SOAP request must be encoded (since the WorkflowTask schema requires a "payload" element).

    I run the code in a debugger and noticed that the the task object has a field nodeArray, which initially contains an element of payload. After the call to setPayloadAsElement has been run, no element of the payload is present in the field of the nodeArray and the mIsPayloadChanged field has been set to true.

    Code is taken almost directly from one [example in the documentation of the API: http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28985/oracle/bpel/services/workflow/task/model/TaskType.html#setPayloadAsElement_org_w3c_dom_Element _] and I'm completely lost as what to do differently. Could there be a problem with the way the Document object is built?

    Everyone knows about similar problems? Any guidance would be appreciated.

    See you soon,.
    Emil

    P.S. I also tried to spend in an element of payload without child element that does not work either.

    Hi Emil,

    Your code looks ok. However, I use the oracle.bpel.services.common.util.XMLUtil object to generate the document object.

    Document document = XMLUtil.createDocument ();

    was soon Nicolas

  • RequestDataSet updated using the API?

    Hello
    Is it possible to update the requestDataSet of the workflow by using the API of the IOM? An example of code will be appreciated.


    Thank you
    Olga

    No, with the current version of the OIM, you can not change request data from vol. I already have an ER for this.

    -Marie

  • VZW iPhone is unlocked? Means it can be used with a SIM card, anywhere in the world with any other SIM card from another provider, including the United States

    VZW iPhone is unlocked?

    Means it can be used anywhere in the world with any other SIM card from another provider, including in the USA?

    Yes, only bought it for full price directly from Apple.

    Buy from anywhere else or under contract with Verizon means that he will probably be locked.

  • I want to use the recovery to any format CD

    I am currently using Windows Vista and I want to use the recovery to any format CD.
    I don't want anything that has been preinstalled to be more on my HARD drive.
    Should what options I use when you use the CD and it will reinstall Windows?

    If your recovery CD contains the Vista operating system then the installation procedure is very easy.
    You need to boot from the Toshiba Recovery CD and follow the instructions on the screen. Installation would format the drive HARD integer (clear partitions too) and would install Vista, driver, tools, tools and software on the laptop.

    Simply said, you will get factory settings books ;)

  • I6 fire babysit device when using the internet? any solution?

    I6 fire babysit device when using the internet? any solution?

    Let's define "overheating". If the temperature of the phone reached a dangerous level the phone turns off it to cool down. This phenomenon occur? If this is not the case it is not overheated.

    What is your cell signal? If the signal is low, the phone must increase its power to maintain a connection. This may require as much as 10 times the energy as a strong signal, and the phone gets hot under these conditions. If will also drain the battery very quickly.

  • Step by step single run through a sequence TestStand using the API

    Anyone know if it is possible to break a sequence of execution and then simple step during various stages of a sequence using the API TestStand?

    Pause and resume running no problem, but step by step once execution is broken turns out to be illusory.

    Largely received ideas

    Steve

    The object of performance communicates methods for this.

    Norbert

  • Hide icon Label step using the API Testand and LabVIEW

    Hello

    can someone tell me how it is possible to hide the icon of a step label using the API Testand and LabVIEW?

    In the Teststand sequence editor, under the Label Edit tab there is a checkbox called "Hide icon". Is there something similar in the API?

    Thank you

    Yes you can, you must set the stage "ni_blank.ico" IconName property

  • How to create VI execution asynchronous step using the API

    I want to create a "run way asynchronous step VI" using the API TestStand in LabVIEW.

    Navigation on the details of the step and the properties of the object, apparently, that it is a type of 'special' step that is actually a SequenceCall.  However, I don't see how to access the data contained in this type of step.  I enclose my current VI used to 'Browse' the data for reference.

    Please advise on how to create this step.

    Thank you

    Hey LVB,

    I'm sorry, I didn't know that you always wanted to use the "Use the Prototype sequence" checkbox option.  In this case the attached code should demonstrate how this can be accomplished.

    Thank you

  • Object LVOOP read/write using the API TestStand

    Is it possible to read/write a LVOOP object to a variable TestStand from LabVIEW using the API of TestStand?

    SetPropertyObject() takes a green wire reference, which is incompatible with an LVOOP object.  SetValVariant(), SetValIDispatch(), and SetValInterface() seems to just write a value null of type variant.  I don't know if I use the wrong API function or if it's just not possible.

    Hi jsiegel,

    That's right, it is not quite possible to what I believe, it is your intention. As mentioned, TestStand cannot create the object of LabVIEW. To make and use references of LabVIEW with TestStand, you need LabVIEW out this reference, which may then store it TestStand as an object reference. For VI requiring the obeject LabVIEW as an input, the registered object reference can be passed in. To make calls to LabVIEW classes using the class member call with a step of the VI Action instead of the call to VI for the Type.

    Of course, you need both LabVIEW and TestStand 2012 or newer in order to use these functions.

    Kind regards

  • Definition of privileges by using the API

    Hello

    I am a newbie of TestStand. Please bear with me if this question seems very basic.

    I am trying to build a c# wrapper around the user management module in TestStand. I created a new user interface that reads all the characteristics of a user as his groupname, privileges etc.

    How can I access the NI_UserCustomPrivileges using the API?
    I need to access privileges custom under the grouping custom privileges.

    I'd appreciate any help in this.

    Use the User.HasPrivilege method.  This method takes as a parameter a representative the particular privilege search string you are looking for.  For example, you can search the database name, i.e. 'RunSelectedTests' [User.HasPrivilege ("RunSelectedTests")] or you can search the full path, for example "Debug.RunSelectedTests".  In this way, you should be able to search privileges custom as "Custom.MyPrivilegeName."  Note that if you are only looking for the database name and there are several instances of the name of this database that exists, TestStand will only work on the first instance it finds.

  • How to connect from Twitter (using the API of Twitter ME v 1.9)?

    Hello..

    I am doing an application with twitter and I use the API Twitter ME v1.9

    I am already able to post tweet with her... But is it possible to log on to the twitter application?

    Kind regards

    Eric

    Why not.. When you save the access token. You use any file Storetoken.java for the registration of access token. You can have a method to clear the access token...

Maybe you are looking for