Entry of workflow change during execution of the workflow

Hi all

I've created a workflow to deploy a virtual machine for one of my clients. The workflow deploy a VM from a model, connect the network adapter to a DVportgroup, run sysprep, if necessary, add the disk if necessary, change the ram if necessary, change CPU if necessary and install a lot of software for virtual machine complies with the customer's environment.

During the deployment, if the user you can add a disk to its virtual machines, it needs answer a simple question and enter the size of the disk. The format (thick or thin) is automatically selected as per their standard.

My workflow is running, and works well, but they want to add an option for a number of disk. Let's say a user want to add three disks! I have add this fields: how many disks to add? And put the answer in a variable number. I added a counter after the workflow add drive as you can see in the image below.

adddisk.JPG

When the counter reaches the number of drive the user wants, it will go to the next steps.

This work but always create the disk with the same variable in size, so all the disks are the same size! It's not very practical!

I want to know what is the best way to have a size for every reader to create variable? The number will never be the same. Let's say I want to add 3 disks, one of 250 GB, 300 GB and 350 GB. I want my user to enter 3 variable sizes.

I guess I'll have to ask my user to enter different size separated by a; or, in the code to read these numbers. This will be stored in a variable. But is there any other way?

Thank you for taking the time to read and help!

You can ask for how many records you wish to have, then depending on the response, calls for each drive size. Once you have variables that you can update your loop for adding disks to use the correct size for each drive. Not terribly complex turns and it provides for the entry of more pleasant for the user to define the sizes with semicolons, commas or whatever.

Take the drive entries size and put them in a table. In this way, when you add for each drive, the index must be for each drive... for example:

Entries:

driveCount (number)

driveSize1 (number)

driveSize2 (number)

driveSize3 (number)

// Create array to store drive size inputs
var drives = new Array();
// Only store drive size if it has been defined. I went simple, from the top of my head here and chose > 0 to determine..
if (driveSize1 > 0) drives.push(driveSize1);
if (driveSize2 > 0) drives.push(driveSize2);
if (driveSize3 > 0) drives.push(driveSize3);

... now, you have to browse loop to add your readers:

before your disk subworkflow added, put in a scriptable job that sets the current disk size:

something along the lines of:

var diskSize = drives[loopCounter];

Tags: VMware

Similar Questions

  • What would cause a constant changes during execution typedef enum

    Hello

    In my program I had a problem with a constant of enum for a selection of the tab value change during execution.  The enum is as part of the initialization of the program and when I step through the loop and then you see the property node of the climax to the value tab and in the next step of the enum changes its value.  I'm under LV 8.0

    Any information will be greatly appreciated.

    Gary


  • During execution of the backup and maintenance on one of my computers, I noticed a folder and the file that I can't identify me...

    Original title: identity of unknown folder

    During execution of the backup and maintenance on one of my computers (Windows xp home, sp3), I noticed a folder and the file that I can't identify.  The name of the folder is cc68f6b7a7ca948eefb018f001 and the name of the update.exe file.  The properties of the file that it is a Windows Service Pack installation.  I tried Googling the name of the folder, but found nothing.

    Can you tell me with regard to this issue, and what, if anything, I have to do?

    Thank you.

    When some programs (including Windows) installs things, it can create a temporary folder composed of 20-30 random letters and numbers or random numbers and letters in the root of the drive of the volume with more free space.

    This explains why the records are sometimes on your C drive or any other drive - the most space?

    For example, you can see a similar to or called folder:

    D:\9470bb12e8a4f3447657236478e41c5

    There may be other folders and files in this main temporary folder such as amd64 and i386 platforms.

    They should normally be deleted when the installation is complete, but sometimes they are not - especially if the installation fails.  They are harmless but annoying.  You can think something is wrong when there are no or fear, that the files are really necessary.  To avoid confusion, you can delete the temporary files.

    If your installation has failed or the installation does not remove the folder to the random name when it finishes running again installation will be another folder at the random name.

    You may be able to identify installation (out of curiosity) by looking at some of the contents of the folder and decide if this installation was not serious, just remove the files/folders.  If the installation does not work for some reason, run again just installation will create a new temporary folder to the random name so the old temporary folder is really useless.

    Records are sometimes tough to remove.  Even if you are an administrator on the system, you might get a "sharing violation", "access denied", "used" or type similar message when you try to delete temporary folders.  Facilities sometimes use different permissions that can have a regular user with the administrator group.

    There are many methods to try to remove the folders, and some require third party programs to install or change some windows settings that could compromise the security of your system if you do not change them back when you're done.

    Start your system in Mode safe mode (by pressing the F8 key several times just before XP attempts to load) is one good method to try to remove the files because it does not have to make any changes to your system configuration or by downloading third-party programs.

    If you are running XP Home Edition, the following section on turn off "Simple file sharing" does not apply to you since in XP Home, Simple file sharing is always turned on.  If you are running XP Home Edition, skip the next few paragraphs and resume where it says:

    "If no part tool above work try a third popular called Unlocker.

    If Safe Mode does not work you can change the security of the folder when you start in Normal Mode to give your username full control over the files by navigating to it in Solution Explorer, click on tools, Folder Options, view and in the advanced settings window, uncheck (at the bottom of the list) use simple file sharing (recommended) and click OK.  This disables him recommended simple file sharing on your computer if you want to turn it back on when you're done to make everything you do.

    Right-click on the files of interest, click Properties and click the now visible security tab.  Change the properties, but you need (for example, select your user name, and check the box to allow full control), click OK to apply the changes.

    With usage share of active simple files (recommended) the checked the properties of the folder tabs are:

    General, sharing, customize

    With the use of sharing files simple disabled (recommended) box unchecked, the properties of the folder tabs are:

    General, security, customize

    Now, try to manipulate/delete the folder.

    It's a good idea to go back to the Explorer and the cheque in the box easy to use sharing files (recommended) when you have finished making everything you do.

    If none of the above works, try a popular third-party tool called Unlocker.

    Unlocker can be downloaded here:

    http://www.emptyloop.com/Unlocker/

    If you use Unlocker, be sure to install because he wants to add a bunch of options, addons, shortcuts and other extras that you don't need.

    You must add the shell extension so when you right click on the offending file, you will have a Unlocker option to choose.  I would just install it long enough to clean up the leftovers and then, I usually just uninstall and all parts of it.  You can always install it again another day if you like.

    Unlocker can be uninstalled when you have finished using it.

    Reboot when finished to ensure that boring records are really missing.

  • An error [-5005: 0 x 80070002] occurred during execution of the installation of magictune

    Original title: uninstall magictune

    I am running Windows 7 64 X.  By mistake I have install MagicTune Premium.  My laptop is Toshiba Satellite P799 with Nvidia GT 540 M.  I tried to uninstall it using the program and functionality but receive the following error message:

    An error [-5005: 0 x 80070002] occurred during execution of the installation

    When I click OK, it brings me to the Samsung download web site.  I repeat the download and then restart.  The coup explore whenever I try to run.

    I always unable to uninstall it.

    Grateful for the help

    Thank you and best regards,

    JC

    Hello
     

    Follow these methods and check if that helps:

    Method 1:

    Try to uninstall the program in clean boot mode and check if it helps.


    How to troubleshoot a problem by performing a clean boot in Windows Vista and Windows 7.
     
    Note: Don't forget to reset the computer to start as usual when you have found the culprit. Follow step 7 on top of the kb article.
     
    Method 2:

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    How to solve problems when you install or uninstall programs on a Windows computer
    http://support.Microsoft.com/kb/2438651
  • during execution of the page, I got the below error

    Hi gurus,

    During execution of the page, I got the below error.

    Error (14.8): wnsgs.oracle.apps.pa.projectinfo.server.NewManagerCustomTableEOImpl of the class should be declared abstract. not setLastUpdateLogin (oracle.jbo.domain.Number) method defined in the class oracle.apps.fnd.framework.server.OAEntityImpl


    Please help me its very urgent

    Thank you
    Sandrine

    Hi Liza,

    Please check your columns WHO that u added correctly or not in your OT If not added you please define the setLastUpdateLogin() method in the java file NewManagerCustomTableEOImpl.

    Thank you
    Deb

  • Graphical evolution of waveform changes during execution

    Hello

    I'm just started learning Labview graphical programming. It's so interesting that text-based programming.

    The first issue is of course acquire analyze and display. But on the screen how to change the X axis and Y, scale of the axes during execution values.

    Maybe you should b a little more clearly what kind of values you want to change. (range, offset, multiplier, etc..)

    For example, to change the interval-y, yscale user property...... minimum or maximum range. The interval-x is a little more complicated, because you're dealing with a graph, when the x offset the changes automatically the history buffer is updated.

    Of course you must also make sure to disable autoscaling, else it will be for the next update.

    You can also change the formatting of the x axis. at the moment you show zero decimal digits. Also an axis 'style' with a few values more would be better.

  • C# takes arguments & reporting during execution of the text file

    I have a text file with the following text:

    int A = 5;
    Dim str As String = "tempstring;
    15, 16, 20, 22 DosomeMethod str.

    When you read the text through my program file, I want to declare int A = 5 & Dim Str as string = "tempstring" during execution.

    It can be as

    String [] st = freader.readline ().split(' ');
    If (st [0] is "int")
    {
    Str [0] str [1] = str [4];
    }

    I know that the above is the wrong syntax, but I want to do something like that with a few references.

    Can someone help me without using the .net irony?

    Hello

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums.

    http://social.msdn.Microsoft.com/forums/en/categories/

  • Problem during execution of the xml in simultaneous program report

    Hello

    In EBS r12, we need to have a standard report output in excel.

    I myself report output xml to create the xml template (.) Presentation of the RTF) using BI Publisher.
    I created the. Available RTF and it works very well on my laptop using Bi Publisher... the XML load in it and I can get an overview of the xml data on layout with all formats (Excel, PDF...)

    I downloaded the layout at EBS and he attributed to the standard State.
    I changed the standard report out put in XML format

    When I go to submit the request for a report, the model is assigned with report and everything seems OK.

    But after I run the report.
    The report ended with the warning state... and the output is only XML with error message:
    This XML file does not appear to have any information of style associated with it. The document tree is shown below.



    The log file says:
    ---------------------------------------------------------------------------
    Options, AutoComplete, the request for enforcement.

    (1) PUBLISH.
    Post-processing of application 2350601 on node CLONE from April 13, 2011 09:03:47.
    Post processing of request 2350601 failed to April 13, 2011 09:03:48 with the error message:
    Failure of one or more shares of post-processing. For more details, see the OPP service log.
    --------------------------------------

    ------------- 2) PRINT -------------
    Does not print is not the output of this application because the post-processing has not.
    --------------------------------------

    End of query options AutoComplete.


    The post-processing of the output assembly Manager log file shows that:

    Model code: LATE_PAID
    App model: SQLAP
    Language: en
    Territory: 00
    Output type: EXCEL
    [21/09/11 10:59:39] [UNEXPECTED] [1273372:RT4463274] java.io.FileNotFoundException: /data1/EBSR120/inst/apps/oravis_hschbscgn20076/logs/appl/conc/out/o4463274.out (no such file or directory)
    at java.io.FileInputStream.open (Native Method)
    at java.io.FileInputStream. < init > (FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:230)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:166)

    [21/09/11 10:59:39] [1273372:RT4463274] Over the actions of post-processing to request 4463274.
    [21/09/11 11:33:17] [OPPServiceThread0] Post-processing application 4463327.
    [21/09/11 11:33:17] [1273372:RT4463327] The execution of the actions of post-processing for request 4463327.
    [21/09/11 11:33:17] [1273372:RT4463327] From XML Publisher postprocessing action.
    [21/09/11 11:33:17] [1273372:RT4463327]

    Hello
    Thanks for your reply.
    I got the output. This error was by the path of the invalid temporary directory in XML Publisher administrator. (Administration-> properties-> general)

    Thank you
    Catherine

  • Error during execution of the event handler

    Hello

    I've implemented a before update event handler (made sure the name is true, the package is right, file loaded on the server, the java code compiled in jdeveloper) but had this error during execution. -What this means and how can I solve this problem?

    Thank you

    ERROR, 4 June 2009 17:25:32, 701, [XELLERATE. SERVER], class/method: tcDataObj/eventPreUpdate some problems: Event handler com.oracle.events.UcdCheckAndSetSponUserExpDate has no name assignedjava.lang.RuntimeException: Event handler com.oracle.events.UcdCheckAndSetSponUserExpDate has no name assigned
    at com.thortech.xl.client.events.tcBaseEvent.run (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.eventPreUpdate (unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPreUpdate (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save (unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData (unknown Source)

    In your constructor did you set the name of the event handler?

    Something like:

    setEventName("Enter-a-name-here");

    Best regards
    / Martin

  • 9211 thermocouple change during execution

    Hello

    Is it possible to change the type of thermocouple (run-time) to a daq module 9211?

    Thanks for the tips,

    Sincerely, n

    What you want to do, is use daqmx features to create your virtual channel within your labview program instead of starting from MAX.  It is very easy to do, and then you can change any setting of the virtual channel that you like.

    This is a simple example of how create the virtual channel.  It is a simple software timed using this virtual channel acquisition.  Notice how you have all the options of the TC channel in virtual channel creation function.

  • Name of the instance change during execution

    Hello

    I have a FLA where I added three footage, each having a unique name. I put the name of MC in the properties panel, but also give a name to the MC during the conversion of an image (by clicking F8), to a MovieClip.

    When I run the swf file and the names of the children in the output swf file, I find that the name of one of the MovieClips changes, for example from myFirst_MC to trial.8.

    To generate the names of MovieClip, I loop over all the children of the swf file and output the name like this:

    for (var i: uint = 0; i < numChildren; i ++) {}

    var screen: DisplayObject = getChildAt (i);

    trace (display.name);

    }

    Why the name of the instance of a MC change? And how can I avoid this happening?

    Thank you

    Stephen

    Sounds like you have missed to give an instance name to one of the objects using the properties panel, or you have something else on the stage that you don't realize is being counted as a child.  The name you give when you use F8 is not related to the part of the program code.

  • How to change input during execution of the VI values?

    Hi, I am involved in a project of I am responsible to implement the code for a stepper motor. A problem that I face is how to do a "update" button, I have 5 input values that I need, but is it possible to change the values without having to restart the VI? Basically I'm looking for a way to update my variables and run the same block of code every time.

    At first I thought to use a for loop and have a each press on the button update a new iteration of the loop with the updated values but that doesn't seem to work, can someone point me in the right direction?

    Thank you.

    In my view, that a simple event structure you get. Check out the attached VI. If you need additional assistance, please your postal code. Note that this code uses a button (update) to update all 5 digital inputs. You can simply right-click in the structure of the event and select "Change events managed by this case" to make sure that change the any digital inputs generates the event.

  • Cannot change the value of the cells during execution of the VI

    Hello

    I'm changing the values in the table while the VI is on, but without success, can anyone show me please how to do this.

    Thank you

    MGarry

    MGarry,

    something like this:

    Please note that this does not reset the contents of the table if you rerun the VI. You can add code to it.

    Norbert

  • How do you change the display screens during execution of the program?

    I would like to have a LabVIEW screen with a list of test Vi to run, and then select one to display.

    In addition, then return to the main screen.

    Thank you

    Looks like a project...

    Side main VI:

    Creata a dropdown list (use ring/enum control) with list of the test screw...

    now, create an event "value change" for control... to capture the current value of the control.

    use of the VI attached as main VI...

    and sub VI

    on close event, get the reference of the main VI and use the property node 'open front'... to return to main VI

    or you can close VI main when you cal a test Vi and re open the main VI when you close any criterion VI...

  • Background color for the radio button does not change during execution

    Hi everyone,

    I set the background color of shapes in blue in the formsweb.cfg file. I used 4 radio buttons in the form and at the time of execution, the background color of the option button is gray.

    So I used SET_ITEM_PROPERTY trigger to set the background color, but it is not chaning. It remains grey.

    SET_ITEM_PROPERTY('TRANS_MASTER.) MODE_OF_PAYMENT', BACKGROUND_COLOR, 'r90g117b148'); - Radio button group

    SET_ITEM_PROPERTY('TRANS_MASTER.) CASH', BACKGROUND_COLOR, 'r90g117b148'); - Radio button
    SET_ITEM_PROPERTY('TRANS_MASTER.) CREDIT_CARD', BACKGROUND_COLOR, 'r90g117b148'); - Radio button
    SET_ITEM_PROPERTY('TRANS_MASTER.) CREDIT_CUSTOMER', BACKGROUND_COLOR, 'r90g117b148'); - Radio button
    SET_ITEM_PROPERTY('TRANS_MASTER.) REDEEMVOUCHER', BACKGROUND_COLOR, 'r90g117b148'); - Radio button

    I used the RGB color as r90g117b148.

    Please help me,

    Thanks in advance,

    Published by: lola amrani may 5, 2010 07:56

    Hello

    When the desig, assign ownership of background color for group of Radio buttons and boxes option for

    François

Maybe you are looking for