Get the result of the REST call to a workflow VCO

Hello

I need to call a workflow of the REST API, it works very well as long as I expect 'simple' outputs like numbers or strings.

I want to get an array of strings, and when I get the result I get the following:

(...), "none": [{"name": "ResultArray", "type": "Array/string", "scope": "LOCAL"}], "startedBy": (...)

I see my table of results, but how do I access the values?

The ugly method would return a string that represents the table with a separator, but I would like to avoid this method.

Clues?

Thanks in advance!

If the output is valid in a valid JSON file (you can find viewers JSON / online editors) then a myObject = JSON.parse (outputString); will transform the JSON string into a javascript object.

Then, you'll be able to get properties with IE:

for each (var outputParameter of in myObject.outputParameters)

{OutputParameter.name System.log}

Note: this is pseudocode so that you get the idea. To know the structure of the object check it in a JSON Viewer.

Tags: VMware

Similar Questions

  • How can I get the rest of this virus off the coast? Ive found a bunch and sank them until I can get online

    How can I get the rest of this virus off the coast? Ive found a bunch and them came down until I can get online but I can 't get to work stations or other programs. I have to run in safe mode to do anything properly. This is where I removed the malware and other viruses but I'm not sure it fixed stuff I need in normal mode.

    How can I get the rest of this virus off the coast? Ive found a bunch and them came down until I can get online but I can 't get to work stations or other programs. I have to run in safe mode to do anything properly. This is where I removed the malware and other viruses but I'm not sure it fixed stuff I need in normal mode.

    Just to add to the answer above, once you have completed the scan with Malwarebytes in SafeMode with network, restart the computer in normal mode, look for the Malwarebytes updates, then perform another analysis.

  • I get the thing "Call us overprotective", but where it says 'where do we send your code' is coming with an e-mail address, I have never seen/used

    I tried to access my account email for weeks, but it is always with the thing "call us overprotective." I tried to get them to send me the code, but the email address, it will send that is same as iv email address never seen/used/heard about in my life. I have very important emails on my account and I need to access it, but have no idea how to... someone help me? It also won't let me go on my Skype and continues to appear with the same thing.

    Since you have never heard of this address and you have never seen him, I would go here immediately point out that someone has hacked your account.

  • Is it possible to get the number of execution of workflow on a cluster of servers Orchestrator / via REST?

    Is it possible to get the number of running workflows on a cluster of servers Orchestrator / through REST? Ideally without checking the status of all executions for each workflow.

    We lack 5.5.2 but would be interested to know if this is a feature available in more recent versions also.

    Hello

    Endpoint following REST will return all executions whose state is "ongoing". In the returned body, the top-level element has an attribute 'total' with the number of items returned.

    https://vcohost:8281 / vco/api/catalog/system/WorkflowExecution? conditions = State = running

  • A subscription to Match iTunes will allow me to get the rest of the Albums I already own from iTunes on Mac for Android?

    About 2/3 of my iTunes Library on my Mac was bought through the iTunes Store, about 1/3 of it was torn off a physical purchase of the CD album or bought directly at the site of artists (like A Moon pool of Radiohead in the form of www.amoonshapedpool.com).

    Apple on Android's music can put songs out there that you have purchased directly through the iTunes Store, but not songs from a third party source (artist or CD). Is not not be able to have my complete library out there with the features of Apple's Music Streaming/disconnect has prevented me from using Apple music as my music player and to engage in a subscription. I was forced to continue using the (horrible) game google music app.

    I've heard that if you have iTunes game, it will match songs ripped from a CD or bought from the artist in the store and add them to your cloud of music, as well as download those to the cloud, it does not recognize (I have a lot of albums with custom illustrations or not available through the iTunes Store Bonus tracks/Live tracks). A subscription to iTunes game as well music Apple would allow me to download the rest 1/3 of my library on Apple Mac music on my android device? If so, who would be well useful the $ 25.

    ~ TJ

    If you have iCloud library enabled in iTunes where all the music is stored, then it must all downloaded / match as part of music to Apple and available on your phone. Did you do that?

  • How to get the user name in a workflow?

    I have a simple request of what appears to be a basic workflow step.

    I create a workflow that has the user approve/reject their own review as the first step of the workflow. My question is, how do I get the username of each document as it comes in the workflow?

    I read on wfAddUser. If that's what I use, how to use it and where I can add it to the Workflow screen?

    Thank you.

    I don't know exactly what you are after all in a row. You want to get the original author?

    The document is checked and the user name is registered. It is the only name available at the moment where the document to enter the workflow, which would be the only user attached to the content so far.

    have you tried looking at the dDocAuthor variable?

  • To create the new group business with workflow vCO

    I'm working on a workflow of vCO that will allow members of my team to put in place new teams in vCAC...

    I can't to his exercises how mapping the output of 'Create a prefix Machine', which is vCAC:Entity to the Machine of the Enter prefix (defaultMachinePrefix), which is vCACCAFE:MachinePrefix.

    When I try to transmit the ID of the entity to the prefix defaultMachine I get the following error: cannot convert undefined to java.util.UUID (workflow: Set up vCAC new user / create a group of companies (item6) #4)

    Did anyone had success or trying to do something that we can't do?

    See you soon

    OK finally managed to do...

    vCACCAFEEntitiesFinder is the way to go for this kind of things.

    Here's what I did to move the machine of the prefix vCACEntity to vCAC:MachinePrefix:

    Entries:

    mp_new MachinePrefix (vCAC:Entity out of new machine OU prefix)

    vCACCAFEHost (vCACCAFE:VCACHost)

    Outputs:

    mp_defaultMachinePrefix (vCACCAFE:MachinePrefix)

    function getMachinePrefix() {

    var vCACCAFEMachinePrefix;

    var array = new Array();

    array = vCACCAFEEntitiesFinder.getMachinePrefixes(vCACCAFEHost);

    var machinePrefix = mp_newMachinePrefix.getProperty("MachinePrefix");

    System.log("Searching for machine prefix..");

    for (var i = 0; i < array.length; i++) {

    if (array[i].name.toLowerCase() == machinePrefix.toLowerCase()){

    System.log("Found MachinePrefix : " + array[i].name);

    vCACCAFEMachinePrefix = array[i];

    }

    }

    return vCACCAFEMachinePrefix;

    //Set default prefix mp_defaultMachinePrefix = getMachinePrefix();

    if(!mp_defaultMachinePrefix){

    throw "Could not find machine prefix entity";

    }

  • How can I get the rest of a division.

    I need the solution to 65 ^ 62 mod 133, an idea? Please I need help, thank you very much

    You should get a copy of the guide and user manual the user advanced since the site HP here:

    http://h20000.www2.HP.com/bizsupport/TechSupport/DocumentIndex.jsp?ContentType=SupportManual & lang = to & CC = US & docIndexId = 64179 & TaskID = 120 & prodTypeId = 215348 & prodSeriesId = 3235173

    RPN mode:

    65

    Come in

    62

    Y ^ X

    133

    Come in

    ALPHA ALPHA

    M O D (choose the alpha characters on the keyboard to M, O and D)

    Come in

    Here's another way:

    65

    Come in

    62

    Y ^ X

    133

    Come in

    Shift to the right CAT (the chat feature is the SYMBOL P key)

    ALPHA M

    Use the UP or DOWN ARROW keys to select the MOD function.

    Press the OK key (should be F6)

  • I put my laptop computer gateway Hibernate about 1 hour ago. Now I can't get the rest up. What should I do? I tried turning, then on it. It starts, and then it goes back to LEEP.

    It is a computer laptop gateway with turion x 2

    Try a system restore to a point BEFORE this problem started to occur.  Here's how: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-system-restore/.  Check the box to show more than 5 days of restore points.  If this does not work, try an earlier point or two.

    If this does not work, do a startup repair, boot from the Installation of Windows Vista genuine disc or your recovery disk. Here is the procedure: http://www.bleepingcomputer.com/tutorials/tutorial148.html.  You may need to change the BIOS to do the CD drive first in the boot sequence.  It was boot the PC and wait for the screen where it shows the F key to enter the menu start or start of installation.  Push it quickly. Make the change, save your work and exit.  Insert the CD into the drive and restart.  When you are prompted, press a key to start the PC.

    If you don't have a floppy, you can make a recovery disk to http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/ using a burning like software: http://www.snapfiles.com/get/active-isoburner.html and of course a blank CD.  This recovery file is just as good as one that comes with Vista, but it can't do a reinstall.  You can do a system restore or startup repair or even use the command prompt.  Boot from the CD may be your only option to keep the PC "awake" long enough to make the procedures - which even works.

    If that is not working, after return and we work on other solutions to the problem - we have still quite a few options, we can try - but I think that the first option (System Restore) is likely to work best if you know ehen this started and can find a restore prior to that point.

    Good luck and I hope this helps - but please post back whatever the case.  We are here to help you best we can.

    BTWk here are a few articles about hibernation you might find interesting: http://www.vistax64.com/tutorials/63567-power-options-sleep-mode-problems.html, http://www.howtogeek.com/howto/windows-vista/re-enable-hibernate-option-in-windows-vista/. Lorien - a - MCSE/MCSA/network + / A +.

  • I continue to receive the same email again and again and not can't get the rest of my email address

    One of my friends sent me an email with an attachment. I received it very well, but now, I continue to receive the it again and again and more like it is stuck and cannot receive any emails more. Need help!

    Try to connect to your account via webmail and delete the message here.

  • My one month for Photoshop free trial ended after three days to install it how can I fix this to get the rest of my free one month trial?

    Hi I have just installed adobe Creative Cloud and bought my one month for Photoshop free trial. I loved, but it ended after three or four days to make it. Is their anyway for me to finish my one month of CC of Photoshop free trial?

    http://helpx.Adobe.com/x-productkb/global/trial-software-expired-early.html

  • During a call to ActionVoip, getting the message "End call (call failed due to sound device on this computer problems)"

    Original title: I use Windows 7 Edition home premium.  When I am dialing from ActionVoip I get the message ' call ends (the call failed due to problems of audio device on this computer. "pls help...

    I use Windows 7 Edition home premium.  When I am dialing from ActionVoip I get the message ' call ends (the call failed due to problems of audio device on this computer. "pls help...

    Hello
     
    1. do you get errors related to other audio devices on the computer?
    2. what type of audio device you use? (You use a headset? If so, who is the manufacturer and what is the model?)
    3. in Device Manager, is the sound, video and game controllers show any exclamation point?
    4. have you made any software or changes to the material on the computer before this problem?

    Open the Device Manager

     
    To work on the issue, refer to these methods.
     
    Method 1:

    No sound in Windows

     
    Method 2:
     
    Reinstall the program in compatibility mode.
     
    Check out these links.
     
    Uninstall or change a program
     
    Install a program
     
    Make older programs run in this version of Windows

    Hope the information is useful.

  • Getting the activity of contact data?

    Hi all

    In trying to get the ProcessedActivity of database entities, I always get 0 record.

    Should be a config change to record activities?

    Moreover, in trying to get the RESTful API activities, I send requests to each contact id and each type of activity of the 8 types (emailOpen emailSend, emailClickThrough, emailSubscribe, emailUnsubscribe, formSubmit, webVisit, campaignMembership).

    But each application would expire.

    When obtaining accounts and Contacts, it works well, and records of result would be returned in a few seconds.

    So, what should I do especially for activities?

    Any suggestions?

    Thank you

    Biao

    Extraction activities in bulk via SOAP by the ProcessedActivity only works if you have the internal queue previously activated for you, and you have the activity according to the internal events that log information that him. It will store data up to 45 days. So 0 results could mean it is not enabled, your internal events are disabled (or external calls in them have been deleted) or your date range is beyond the data you have, or simply the filter on your query returns no data. You can read more here:

    The queue of activity processed (AQP)

    And here:

    Eloqua API how: retrieve data of activity through the API

    To make queries through the REST, if you get HTTP500, try again with a shorter period of time and a small page to test. If you're pulling for one year (maximum) and contacts a large number of activities, the db simply may not have able to extract the data in time. To clarify on the levels of support for REST 1.0 - product compatible will address all the problems that you encounter with him and log defects or feature requests as needed. From there on, dev may specify what level of action, we can provide on this particular workflow or an end point. REST 2.0 is not supported because it is not contractually stable and may change between versions. If the behavior/feature you need is available at REST 2.0 and 1.0 not, then certainly, you can consider using it, but it is not recommended because of this reason.

    For activity in general, exports in bulk 2.0 export activity are available. They have the advantage to be more effective than the REST, which is 1 call per contact by type of activity, and support the date more 1 year ranges. During the SOAP/QIP method, there the advantage of not requiring installation and changes to your integration area, as well as no drop of data after 45 days.

  • Impossible to get the specific features of cisco in LMS syslogs

    Hello

    It's about a problem that we face with our LMS 3.2.1. We cannot get specific cisco devices syslogs, while we are able to get the rest devices syslogs. one you suggest what would be the exact reason for this and the troubleshooting steps.

    Thanks in advance,

    Raja

    Hello

    The first thing I would say is to make sure that you have these devices configured to send the syslogs to that specific server. See config below:

    3725B - CR - NMS (config) #logging host?
    Host name or A.B.C.D IP address of the syslog server

    If that is already set up, please make sure that syslog messages are on the server. Create a message simple syslog and check the syslog.log file located in NMSROOT/CSCOpx/log to make sure it's written there. You can also run a capture of packages to confirm the foregoing. If you have this installed on Linux/Solaris, check the syslog_info file (/ var/log /).

    You can generate a test syslog as shown below:

    3725 B-CR-NEM #conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    3725B - CR - NMS (config) #exit
    B-CR-NMS 3725 #.
    * 03:35:42.613 13 Oct: % SYS-5-CONFIG_I: configured from console by admin on vty1 (192.168.10.197)

    NMSROOT is the LMS installation directory

    Let me know the results.

    Allen has.

  • Could not get the idea of the application of the hierarchy

    Hello world

    I am trying to learn the hierarchy of oracle queries and couples has spent hours, but still don't get it. Suppose I have the following query:

    Query

    WITH

    DATA ACE

    (

    ' Select '100' grp 1 January 2012' effective_date, 30 June 2012 ' termination_date of the double

    Union of all the

    ' Select '100' grp 1 July 2012 ' effective_date, August 5, 2012 ' double

    Union of all the

    ' Select '100' grp, August 6, 2012 ' effective_date, August 10, 2012 ' double

    Union of all the

    ' Select '100' grp 2 August 2012 ' effective_date, August 9, 2012 ' double

    ),

    correct_data like)

    Select grp,

    TO_DATE (effective_date, ' MON-DD-YYYY "," NLS_DATE_LANGUAGE = ENGLISH ') effective_date,.

    TO_DATE (termination_date, ' MON-DD-YYYY "," NLS_DATE_LANGUAGE = ENGLISH ') termination_date

    from the data

    )

    Select the grp, effective_date, termination_date, level

    of correct_data

    Connect prior termination_date = effective_date-1

    advance grp = grp

    start by (effective_date)

    in (select min (effective_date) correct_data)

    order by 1, 2;

    The query result

    100 1 JANUARY 12 30 JUNE 12 1

    100 1ST JULY AUGUST 12 5 12 2

    100 6 AUGUST 12 AUGUST 10 12 3

    I don't understand why I'm getting this result and does not get the rest 1 row. If someone explain it in simple words, then I really appreciate it. Thanks in advance.

    Concerning

    Line

    Hello

    979596 wrote:

    Thanks Frank for the great explanation, something is still confused it is:

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

    When termination_date BEFORE June 30, 2012, the next line meets these conditions:

    100 1ST JULY AUGUST 12 5 12 2

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

    How this line satisfy the condition? Please guide.

    The above line is on LEVEL = 2.  (The last column of output is the LEVEL which is convenient.)  "It is easier to understand the results in this way.)

    This line level = 2 must have satisfied conditions CONNECT it before BY Canada (2-1) = rank = 1.  There is only 1 these rows in the results set, namely:

    100 1 JANUARY 12 30 JUNE 12 1

    You see how these 2 rows satisfy the CONNECT BY conditions, which are:

    Connect prior termination_date = effective_date-1

    advance grp = grp

    ?  If this isn't the case, explain why you think that the above condition should return FALSE (or UNKNOWN), given these 2 rows.

Maybe you are looking for