Design and save workflow diagrams using flex

Hi,
I am new to flex..I need to design a workflow diagrams using flex and save the information..Could you please help me on this..
Actually what exactly i want is..
In my project we have some jobs..Job is bunch of scripts..These jobs will run in different hosts(Server).In my project we have a provision to run these jobs in order in different hosts.But not for running the scripts in perticular sequence.
For example::
We have a,b,c,d,e,f jobs..
1) these jobs run in order if we select one check box.This provision is there.Order means after a runs b should run.after b is done c should run and so on..
2) there is another senario like.
   After a job runs b,c should run parallel and these 2 are done d shold run..after it is done e,f,g shold run paralell..some thing like this..This is a sequence of scripts running in different hosts..For this we nned to desing a UI like work flow diagram.
     In UI we show all jobs in data grid and user will drag the jobs and keep it an area and he connects all the jobs with some lines with arrow(to identify).There he should conncects the jobs in which sequence he wants to run the jobs.
  For this need to design a diagram and save the data in the UI.From UI we have to capture the sequence of jobs and store the sequence in db..
Colud you plz provide me soltion for this..I am getting how to draw a flow diagram using flex and capture the sequence from UI and store the data in DB..
Please help me out in this issue..
Thanks in advance...

I am trying to create an image file with flex and want to save it only in  a perticular directory ie., user should not be given any option to choose the location.Air application uses resolvePath where we can specify the path but donno how this can be achieved for a web-based application.
Is there any workaround for this?
Thanks.

Similar Messages

  • How to create and save a file in flex web application ?

    Hi,
          I want to create and save a file form flex web application. Is it possible ?
    I have done some googling and found that its only possible through file referece, which needs some serverside implementation be called.
    Is it not possible with file reference to create and save file directly ?
    Can any one suggest how to over come this.
    Thanks in advance.

    Alex,
    code written with the Flex Builder 3 libraries will certainly run in Flash Player 10. However, what you need is not so much the capabilities of FP10 but the library functionalities of the Flex 4 package. And I think that Flex 4 code will only run in FP10 and not 9 (but haven't tested this as at work we have not yet been permitted to upgrade, so there is not a lot of point going for Flex 4!).
    Richard

  • What steps do I take to edit raw files and save for web use, such as Instagram, Facebook, Websites, and emailing?

    What Steps do I take to edit raw files and save for web use, such as Instagram, Facebook, Websites, and emailing?

    When you open a raw file it will open in Adobe camera raw. That is where you can do most of the editing. Then it will be placed inside Photoshop where you can do more if needed.
    Now you can use the save for web dialog to export your image as a png or jpg to use on those sites.

  • How do you create and save icc profiles using photoshop?

    How do you create and save icc profiles using photoshop?

    You don't. Color profiles require specific measurement hardware and software.
    Mylenium

  • To export pivot table from excel and save as picture using powershell

    I am trying to automate my work by attaching an excel file to email and send it across using powershell . But also, I want to paste the screenshot of  pivot table to my email body .
    One way to do it is to save only the pivot table as picture format like jpeg or png , then attach this picture to the email body .
    I am looking for an powershell script which will save my pivot table as picture format . I am using powershell V1.0
    please help .

    I'm not familiar with PowerShell script, we usually use VBA script within excel.
    The following article describes how to export Excel Range to a Picture File and attach it as the email body by VBA code, it might not be the answer you are looking for, but hope it will give you some inspirations.
    http://www.jpsoftwaretech.com/export-excel-range-to-a-picture-file/
    Also you can post your question to PowerShell forum to get better support.
    Best Regards,
    Wind Zhang

  • Unable to map nested java classes and objects in actionscript using flex

    Hi All..,
    Im a newbie in flex and actionscripting...,I however have a task assigned in this domain and goin insane since a week now with this problem...
    Problem explained:
    I have a class called Unit that inturn have many other classes like for example unit has an engineer class,,,Im not able to access the attributes of engineer using the unit class...that is unit.engineer,engineerid is giving me a null...however attributes unique to unit are accessible...
    Please help me out with this...,this problem has already eaten up my deadlines...
    Any help would be appreciated and thankz in advance..

    Thank you for the swift reply...,
    I actually have three java classes Unit , Engineer and UnitretrievalRemote....
    Unit contains engineer and also UnitRetrievalRemote has methods to retrieve unit which inturn should return engineer...,However i hav actionscript classes for both engineer and unit and mapped it apporopriately using the remotetag...and also my remote object is defined with a destination...
    The below code is my Actionscripting code included in mxml:
    import UnitScript.Engineer;//These are my Action Scripting Classes
    import UnitScript.Unit;
    import mx.collections.ArrayCollection;
    import mx.collections.ArrayList;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.ResultEvent;
    public var unitIds:ArrayCollection;//I'm passing an array from java end
    that retrieves the unitId's from the db using hibernate...
    public var index:int;
    public var unit:Unit;
    protected function initData():void
    ApplicationService.getUnitIds();
    //This is the remoteobject call using blazeds to load the method during application start from java..
    private function setUnitIds(event:ResultEvent):void
    unitIds  = ArrayCollection(event.result);
    private function setUnit(event:ResultEvent):void
    unit = Unit(event.result);
    //mx.controls.Alert.show( "Compling" );
    //mx.controls.Alert.show( "Engineer Method" +unit.engineerId);
    //mx.controls.Alert.show( " Engineer=="+unit.engineer) ;
    unitIDText.text = String( unit.unitId );
    customerName.text = unit.name;//displaying the contents fetched from the backend in the panel...
    setEngineer(event);
    private function setEngineer(event:ResultEvent):void
    unit.engineer = Engineer(event.result);
    unit = Unit(event.result);
    eng_id.text = String(unit.engineer.engineerId);
    mx.controls.Alert.show( "Engineer ID Please Show"+unit.engineer);
    //This prints a null.
    mx.controls.Alert.show( "Direct Engineer Id" +unit.engineer.category);
    // This prints a null.
    Remote object mapping is as below:
    <mx:RemoteObject
        id="ApplicationService"
        destination="Destination1" >
        <mx:method name="getUnitIds" result="setUnitIds(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
        <mx:method name="getUnit" result="setUnit(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
    </RemoteObject>

  • How to Create Dynamic button at runtime and save it by using c#?

    Hi All,
    Can someone please provide me code to create button dynamically at runtime and save it permanently?
    Your quick help is appreciable.
    regards,
    Sourabh

    You cant add controls to the visual tree a runtime which persist beyond the lifetime of the application.  You will have to persist an indicator to your program which tells it to add the control.  Adding a control is as simple as initializing
    it and adding it to a parent already on the tree.  Controls can be created programmatically or using the XamlReader.Load static method.  You can find XamReader.Load in Windows.UI.Xaml.Markup in windows 8.1, Windows 8.1/Windows Phone unified
    projects.  For old windows phone ad just Silverlight I believe it is in System.Windows.Markup.
    Hope this helps.

  • Open Tiff, rotate, resize and save as JPEG (using JAI)

    I 'm having a hard time getting my arms around the JAI classes to perform
    this transform. I've looked at the tutorial and api, etc and did not get
    very far.
    I have the code to open the TIFF, and save as a JPEG. My question is how to
    go from there to do the manipulations (rotate, resize)?
    If anyone knows how to do this with JAI classes, please let me know.
    Thanks,
    Bill Pfeiffer
    My code:
    try
    SeekableStream input = new FileSeekableStream("C:\\S1000000.TIF");
    FileOutputStream output = new FileOutputStream
    ("C:\\S1000000.jpg");
    TIFFDecodeParam TIFFparam = new TIFFDecodeParam();
    ImageDecoder decoder = ImageCodec.createImageDecoder("tiff",
    input ,TIFFparam);
    JPEGEncodeParam JPEGparam = new
    JPEGEncodeParam();
    ImageEncoder encoder = ImageCodec.createImageEncoder
    ("jpeg",output,JPEGparam);
    RenderedImage ri = decoder.decodeAsRenderedImage();
    encoder.encode(ri);
    input.close();
    output.close();
    catch (IOException e)
    e.printStackTrace();

    For Rotation....
    1) add the following function to your code.
    private RenderedImage rotate(int degrees, RenderedImage src, Interpolation interpRotate) {          
                             try {               
                                       float radians = (float)(degrees * (Math.PI/180.0F));
                                       ParameterBlock pb = new ParameterBlock();
                                       pb.addSource(src);
                                       pb.add(0.0F);
                                       pb.add(0.0F);
                                       pb.add(radians);
                                       pb.add(interpRotate);
                                       src = (RenderedImage)JAI.create("rotate", pb, null);
                                       pb = new ParameterBlock();
                                       pb.addSource(src);
                                       pb.add((float)-(src.getMinX()));
                                       pb.add((float)-(src.getMinY()));
                                       pb.add(interpRotate);
                                       return (RenderedImage)JAI.create("translate", pb, null);
                             }catch (Exception e) {               
                                       return src;
    2. call this function before the "encoder.encode(ri);" line in your code. I pass "new InterpolationBilinear()" for the interpolation parameter of the function.
    For scaling...
    1) add the following lines to your code after or before you rotate the image.
    ParameterBlock pb = new ParameterBlock();
    pb.addSource(ri);
    pb.add(1.1F); //play with these 4 lines to make the image bigger or smaller (1.0F is actual size)
    pb.add(1.1F);
    pb.add(0.0F);               
    pb.add(0.0F);               
    pb.add(new InterpolationNearest() );
    t = (RenderedImage) JAI.create("scale",pb,null);
    hope this helps. Just play with it a bit. You'll get it.

  • Capture design from an ERWin diagram using DDL

    Hi,
    I am trying to follow the advise given by Antony Hall in this forum (posted June 16/2004) to capture an ERWin ERD into Designer. Antony recommends to generate the DDL in ERWin (which I did) then open Designer Editor in Designer, go to Generate --> Capture Design and choose 'Server Model' from the list.
    Then as the Source of Design Capture choose 'DDL files' and browse for the file. Before this I also created the Application System to hold the Server Model that I am going to create.
    All goes fine except that the 'start' button to begin the process in the 'Capture Server Model from Database' window is grayed out, so I'm stuck.
    Any help to solve this problem will be much appreciated.
    Ellie
    Toronto, Canada

    1. the Target Container has to have your application in it.
    2. Capture Implimentations into - needs to have the Database from the designer selected into it.
    3. Datbase user - needs to have a database user in it.
    Refer to Note 260617.1
    How to Capture Design from Designer
    If you need more assistance log a tar and I will help you.

  • Any way to avoid 'save as' dialog/pop-up when trying to save some file using flex?

    I am trying to create an image file with flex and want to save it only in�� a perticular directory ie., user should not be given any option to choose the location.Air application uses resolvePath where we can specify the path but donno how this can be achieved for a web-based application.
    Is there any workaround for this?

    I am trying to create an image file with flex and want to save it only in  a perticular directory ie., user should not be given any option to choose the location.Air application uses resolvePath where we can specify the path but donno how this can be achieved for a web-based application.
    Is there any workaround for this?
    Thanks.

  • SAP BO Report Scheduling and Save as report using Java SDK

    Hi All,
    We have a java product which is integrated with SAP BO using Java SDK and we have certain java screen through which we select report prompt values and webi report gets run.
    Now we want to give a functionality to save report to BO repository.
    When user select certain check box from java screen a separate copy of the webi report should get saved under default folder on BO repository.
    Also, we want user to choose the scheduling option from java screen only (and not the one which we use from BI Launchpad) due to certain access restriction. User does not have access to BI Launchpad. Only he can run report by selecting values through Java screen.
    If i need to create a separate screen for scheduling as well as saving webi report then also i am ok with it.
    P.S. i guess we need to work on Java SDK level. But could somebody please help me with the right direction?
    Let me know in case requirement is not clear.

    Hi Ketan,
    As you are on version BI 4.0 SP5 and would be migrating to BI 4.1, the best SDKs to use would be the Restful Webservices SDKs.
    You have the options to schedule a webi report with prompts as well as the save feature which you require.
    Please refer to the webi restful guides avialble at
    For BI 4.0 SP5
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_webi_restful_ws_en.pdf
    For BI 4.1 SP4
    http://help.sap.com/saphelpiis_sbo41sp4wi-sdk/frameset.htm
    Refer to the below blog to understand the Restfull Webservices SDKs.
    http://scn.sap.com/community/restful-sdk/blog/2013/09/07/scripting-web-intelligence-the-restful-raylight-web-services--learing-it
    More blogs on Rest are available at
    http://scn.sap.com/community/restful-sdk/content#filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bblogpost%5D
    You can find the samples from the below link
    http://scn.sap.com/community/restful-sdk/content#filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bdocument%5D
    You would need to refer to the community below in case you have concerns about Rest SDKs.
    http://scn.sap.com/community/restful-sdk
    Thanks,
    Prithvi

  • Safari and internet pages made using Flex

    Safari for i-pad don't run flash3 pages and i cannot install the flash player on my i-pad

    The issue of Flash support has been covered here literally hundreds of times. "Use the search, Luke!"

  • How to set my c6280 photosmart printer for half fold envelopes and set and save for future use

    I would appreciate an answer please email me thanks in advance for getting back with me.
    Bevy Ann

    Just set-up a new custom paper size.
    Go to the C6280 Printing preferences\Features\Resizing Options\Size:Custom
    Just enter the size of your half fold and give it a name.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • Retire Oracle Designer development and continue with just using Forms 11

    Hi,
    The company I am working for is taking over responsibility for an Oracle Designer 10 application.
    Due to Oracle Designer is an outdated development environment we are looking for potential solutions how to get rid of Designer without completely redeveloping or replacing the application.
    One options we thought about is to switch off Designer and only continuing to use Oracle Forms 11.
    Do anyone of you have experience in this area which you would like to share?
    Best regards,
    Marco

    There are a lot of case generated (CG$) trigger and procedures used in the Forms. For us the code seems to be very complex and hard to read.
    But, also some of them seems to be never used or it is just the statement "null" in it.
    We thought about SQL Developer Data Modeler to capture most of the Designer stuff. But still there is the technical documentation that is not fully supported by SDDM. Did anyone migrate these Designer documentation to an other tool? If yes, to which one and how? We tried the SDDM Report functionality to capture some of the documentation, but also these reports do not contain everything that Designer could provide.
    There are also "Preference Sets" used in Designer and we are wondering how to migrate these to Forms Builder. Did anyone migrate these preference sets to Forms Builder in the past and has some experiences/examples/recommendations about that? We thought about one "global" form that could contain these preference sets and then inherit them.
    There are also the Functional Hirarchie Diagrams in Designer, could they migrated to Forms or SDDM in any way? Or do we need to maintain these diagrams manually in a tool like Word or Visio?
    If we could capture all the things mentioned above, we would like to continue just with Oracle Forms Builder 11gR2 in combination with other tools like SQL Developer and Data Modeler and if no other solution could be find out with some manual maintained documents.
    For all recommendations and tips we are very interested and we would thank you all very much!

  • Script to frame multiple designs in various colours and save each image.

    I sell prints online, and have a template of a frame, but I would like to know if there is a script which can be used to input maybe 10 image files into the frame template, and save each file as its own jpeg.
    Hope that makes sense.
    Thanks

    Brilliant thank you, so how do I now use the below in PS (I am on CS5)
    thanks again for your help
    // replace smart object’s content and save psd;
    // 2011, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var theName= myDocument.name.match(/(.*)\.[^\.]+$/)[1];
    var thePath = myDocument.path;
    var theLayer = myDocument.activeLayer;
    // psd options;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = true;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // check if layer is smart object;
    if (theLayer.kind != "LayerKind.SMARTOBJECT") {alert ("selected layer is not a smart object")}
    else {
    // select files;
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", "*.psd;*.tif;*.jpg", true)}
    else {var theFiles = File.openDialog ("please select files", getFiles, true)};
    if (theFiles) {
    // work through the array;
              for (var m = 0; m < theFiles.length; m++) {
    // replace smart object;
                        theLayer = replaceContents (theFiles[m], theLayer);
                        var theNewName = theFiles[m].name.match(/(.*)\.[^\.]+$/)[1];
    //save jpg;
                        myDocument.saveAs((new File(thePath+"/"+theName+"_"+theNewName+".psd")),psdOpts,true);
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
         if (theFile.name.match(/\.(psd|tif)$/i) != null || theFile.constructor.name == "Folder") {
              return true
    ////// replace contents //////
    function replaceContents (newFile, theSO) {
    app.activeDocument.activeLayer = theSO;
    // =======================================================
    var idplacedLayerReplaceContents = stringIDToTypeID( "placedLayerReplaceContents" );
        var desc3 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc3.putPath( idnull, new File( newFile ) );
        var idPgNm = charIDToTypeID( "PgNm" );
        desc3.putInteger( idPgNm, 1 );
    executeAction( idplacedLayerReplaceContents, desc3, DialogModes.NO );
    return app.activeDocument.activeLayer

Maybe you are looking for

  • No more than one picture at a time...

    Photoshop will no longer let me open more than one picture.  I get the error message "Adobe Photoshop CS3 has encountered a problem and needs to close.  We are sorry for the inconvenience." And Photoshop closes.  Has anyone ever encountered this issu

  • Error while Transporting ID objects

    Hi, I have transported IR objects correctly from dev to QA environment, but when Im trying to transport ID objects, its giving me error saying that the Business System is not available. I am using File Based Transport. Regards Sudhir.

  • Home Theater Questions

    I've got an old mini hooked up to my DLP TV just fine with a VGA-DVI. I also have an HD up-conversion DVD player and a nice home theater speaker system. Would it be dumb to sell my old Mini and DVD player and get a new Mini? 1. Would the picture qual

  • We need add field to report Gen.Trip data (s_ahr_61016405)

    Hi Experts: In this moments we use the report s_ahr_61016405 for admin the Travel Management. But we need know if is posible include a new field whit REGION MAINT DEST in the output. Regards, Carlos Puga

  • The phone does not work, and they want to bill me for another to replace it !

    They send you a iPhone 4s that will not activate, and now to get a new phone they want to charge me for another one to replace the broken one. You know a time to shine with customer service issues is when you have a big one, and in my opinion and bas