Help with TaskManagerService.processSearch from Flex

I am trying to use TaskManagerService.processSearch from Flex (and from C#) but I am having trouble populating the conditions array.All the documentation and examples I could find were in java, and thus use addContidion()... which I do not have access to. 
What I'm after is an Object (or XML) representation of a processSearchFilter.
I am trying with something like:
{conditions:[{property:"provCar.RequestID", operator:"=",value:"53"}],
serviceName:"SBDBWorkflow/RequestWorkflow"
and I am getting an error saying my condition cannot be cast to com.adobe.dsc.filter.Condition!
If I use:
conditions:[{name:"provCar.RequestID", operator:"=",value:"53"}],
serviceName:"SBDBWorkflow/RequestWorkflow"
the condition is ignored and I get back all my process instances.
Any idea what I am getting wrong on the Condition object?
TIA
julio

Hi again,
the xml for the combobox datasource is as follows
<animals>
<animal>
<id>1</id>
<name>dog</name>
</animal>
<animal>
<id>2</id>
<name>cat</name>
</animal>
<animal>
<id>3</id>
<name>horse</name>
</animal>
</animals>
and my <mx:HTTPService> is:
<mx:HTTPService id="dropDown" useProxy="false" url="
http://localhost/~ronnyk/combobox.php"
resultFormat="e4x" result="get_drop_down(event)" />
public function get_drop_down(e:ResultEvent):void{
var dropArr:XML = e.result as XML;
cb.dataProvider = dropArr.animal;
cb.labelField = "name";
cb.data = "id";
public function clickme():void{
txtinput.text = cb.selectedItem as String;
I can't figure out which part I did wrong, in order to get
the id instead of the name when the user clicks the button

Similar Messages

  • Help with ComboBox, datasource from database

    Hi there,
    i am new to Flex technology and desperately need help with
    combobox.
    I have a combobox in my app and the datasource comes from
    MySQL database. I use a PHP script to populate the combobox. Say in
    the datatabse table, I have the following result:
    id name
    1 dog
    2 cat
    3 horse
    In the app, the combobox will have the list as the name of
    the animals: dog, cat, horse. But when the user selects dog, how do
    I get the selected id 1 instead of the label "dog".
    Any help/suggestion will be appreciated.

    Hi again,
    the xml for the combobox datasource is as follows
    <animals>
    <animal>
    <id>1</id>
    <name>dog</name>
    </animal>
    <animal>
    <id>2</id>
    <name>cat</name>
    </animal>
    <animal>
    <id>3</id>
    <name>horse</name>
    </animal>
    </animals>
    and my <mx:HTTPService> is:
    <mx:HTTPService id="dropDown" useProxy="false" url="
    http://localhost/~ronnyk/combobox.php"
    resultFormat="e4x" result="get_drop_down(event)" />
    public function get_drop_down(e:ResultEvent):void{
    var dropArr:XML = e.result as XML;
    cb.dataProvider = dropArr.animal;
    cb.labelField = "name";
    cb.data = "id";
    public function clickme():void{
    txtinput.text = cb.selectedItem as String;
    I can't figure out which part I did wrong, in order to get
    the id instead of the name when the user clicks the button

  • Help with Retrieve attributes from database

    Hi,
    I'm using filter "Retrieve from or write to database" with select query from database by selecting attributes as column names radio button.
    I'm unable to get these user attributes with column names.
    For eg : select tag from test_tag where rownum=1;
    I was trying so that result can be used using tag attribute (${tag}).
    Please help in this regard.
    Thanks,
    Vani

    Hi Vani,
    After the retrieve filter, add a Trace Filter and leave it as it is. Execute the policy once and in the trace data that now will be displayed there you should be able to read out the exact name and type of the parameter. This way of identifying data/parameters etc is a recommended way of working while developing! Copy paste the Trace Data from the Trace filter here if you need help!
    Cheers,
    Stefan

  • Help with Account Removal from Skype Directory

    To whom it may concern,
    I need help with removing my Skype account from the Skype Directory.  According to this webpage: https://support.skype.com/en/faq/FA142/can-i-delete-my-skype-account, only someone from Skype Customer Service can remove my account from the directory. Can someone assist me in removing my account from the directory? Thanks.
    Sincerely,
    Andrea

    I am not eligible for email or live chat service with a skype representative... I decided to post in this forum. Thanks anyway.
    afaik, all users can use the email support option.  But as you said you can not use that facility, send an email to their generic email address instead - [email protected]
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

  • Help with Moving Emails from Exchange Server 2013

    Hi Team,
    Help, I need a solution on how to copy incoming and outgoing emails together with their attachments and was hoping someone could help with a solution I need to find for this problem.
    1) I have a need to copy all incoming and outgoing emails & attachments from Exchange Server 2013 mailboxes on a daily basis, so they can be archived into an external 3rd party database overnight.
    I believe that the first step is that I can set up another Exchange mailbox, through Journaling to receive these emails. 
    Is there any way that these emails can then be moved direct from the Journaling mailbox that I have created, to a shared folder on the network? If so what format would they be sent out as e.g. .msg, .ems and what is the process?
    Failing that, could they be sent to an Outlook client (not another Exchange mailbox) on the network and stored in a .pst file? (I have a program that will export them from .pst)
    I would really appreciate any assistance that you can provide in this matter.
    Regards, Greg.

    Hi,
    You can set auto-forward on journaling mailbox and auto-forward emails to another mailbox. Why don’t directly archive the emails from the journaling mailbox “an external
    3rd party database”.
    Thanks,
    Simon Wu
    TechNet Community Support

  • I need help with a download from Adobe

    I need help with Adode photoshop elements that I bought from Adobe. The download take forever. I can't get signed in very easy. It take forever

    Hi Kathy1963-1964,
    Welcome to Adobe Forum,
    You have photoshop elements 12, you can try downloading without the akamei downloader .
    http://prodesigntools.com/photoshop-elements-12-direct-download-links-premiere.html
    Please read the " very important instruction" prior to downoload.
    I would request you to disable the firewall & the antivirus prior to download.
    Let us know if it worked.
    Regards,
    Rajshree

  • Help with redirecting URL from Web Dynpro

    Hi,
    I have a question regarding how i can construct a URL where i would like to forward the user from a WD app based on some user interaction.
    The problem is that i need to know the protocol, server & host to resend the control to ( basically append these values to a url path that i have eg: <http(s)>://<host>:<port>/<the path i have>).  With NW2004s, the request object is not exposed to us anymore, so i am wondering what is the best way to construct the url.
    I have gone through various posts here and the one that came closest to accomplishing what i need is the one by Valery S which recommends creating a Servlet that captures the request info that i need and then calling the WD app including the info that i need as request parameters in the calling URL.
    Before i do this, i want to see if anyone has been able to solve this through another approach.
    Appreciate the inputs.
    Best Regards
    Renchy Thomas

    Renchy,
    Now I see you are conflicting with yourself
    On one hand, if you need to redirect to the application hosted on the same server you need no protocol/server/port parameters. And you confirmed that this works for you.
    On other hand, you are complaining that WD doesn't know in advance the protocol/host/port of arbitrary server you are planning to redirect to. Well, as I understand this is not API issue, this is configuration issue. You just need some configurable way to store such settings.
    If this is true, then I can suggest 2 options:
    1. HTTPDestination -- you are setting and configuring destination via VisualAdministrator, then from your code you are lookup destinitation by logical name and get physical URL.
    2. IWDConfiguration / WDConfiguration -- you are creating settings as regular properties file, after deployment you may tweak this property file with VisualAdministrator. From code you are using WDConfiguration API to read URL or parts of URL as properties.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Can anyone help with uploading photos from iPad to Facebook.  Thanks

    Can anyone help with uploading photos fom iPad to Facebook?  Thanks

    What app are you to trying to use ? You can't upload photos to Facebook via Safari, but a number of the Facebook apps support it e.g. the 'official' app : http://itunes.apple.com/us/app/facebook/id284882215?mt=8 (thought it's optimised for the iPhone/iPod Touch it does support uploading photos), Friendly For Facebook (http://itunes.apple.com/us/app/friendly-for-facebook/id400169658?mt=8)

  • Help with Error message in Flex 2.0 while trying to import from a library of classes

    The following code is in a folder named saras. Inside saras
    is a file named saras.as and a library of classes named
    ASCB3Library. I downloaded this library after I purchased a book
    named ActionScript 3.0 CookBook. I have tried every way I know for
    a full week to instantiate the pen class from the library. I have
    e-mail the book publishers and I understand that the author has
    changed jobs --- I definately am not trying to make any bad
    references --- I am simply asking for help --- there must be
    someone out there with my same problem --- I am nottoo sharp but I
    am not so obtuse as I seem to be making myself.
    package {
    import flash.display.Sprite;
    import ASCB#Library.classes.ascb.drawing.Pen;
    //import ascb.drawing.Pen;
    public class saras extends Sprite
    public function saras() {
    var pen:Pen = new Pen(graphics);
    pen.drawArc(100,100,50,80,20, true);
    graphics.lineStyle(1,0,1);
    graphics.lineTo(300,200);

    As far as I know, iWork (without a s) was never depicted as opening _"all Excel documents"_ but as _"opening Exel documents"_ which means that it open _many of them but not all_ .
    Is it surprising that it is unable to open documents created with an Excel version introduced after the Numbers creation ?
    To get it able to open them, you will have to wait for the next major version.
    Yvan KOENIG (from FRANCE lundi 20 octobre 2008 17:16:32)

  • Help with getting values from request. Very Strange!!

    Hello,
    My very strange problem is the following.
    I have created three dynamic list boxes. When the user select
    the first list box, the second becomes populated with stuff
    from a database. The third becomes populated when the second
    is selected. Now, I have used hidden values in order for
    me to get the selected value from the first listbox. The
    following code is my first listbox:
    <SELECT NAME="resources" onChange="document.hiddenform.hiddenObject.value = this.option [this.selectedIndex].value; document.hiddenform.submit();">
    <OPTION VALUE =""> Resource</OPTION>
    <OPTION VALUE ="soil"> Soil </OPTION>
    <OPTION VALUE ="water"> Water </OPTION>
    <OPTION VALUE ="air"> Air </OPTION>
    <OPTION VALUE ="plants"> Plants </OPTION>
    <OPTION VALUE ="animals"> Animals </OPTION>
    </SELECT>
    I use the getRequest method to get the value of hiddenObject.
    At this time I am able to get the value of hiddenObject to populate
    the second list box.
    But, when the user selects an item from the second list box
    and the second form is also submitted,
    I lose the value of hiddenObject. Why is this??
    The code to populate my second listbox is the following:
    <SELECT NAME ="res_categories" onChange="document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value; document.hiddenform2.submit(); ">
    <OPTION VALUE ="" SELECTED> Category</OPTION>
    Here I access a result set to populate the list box.
    Please help!!

    Form parameters are request-scoped, hence the request.getParameter("hiddenObject"); call after the submission of the second form returns a null value because the hiddenObject parameter does not exist within the second request.
    A solution would be to add a hiddenObject field to your second form and alter the onChange event for res_categories to read
    document.hiddenform2.hiddenObject.value=document.1stvisibleformname.resources.option[document.1stvisibleformname.resources.selectedIndex].value;
    document.hiddenform2.hiddenObject2.value = this.options[this.selectedIndex].value;
    document.hiddenform2.submit();You will then come across a similar problem with your third drop-down if indeed you need to resubmit the form...
    A far better approach would be to create a session scoped bean, and a servlet to handle these requests. Then when the servlet is called, it would set the value of the bean property, thus making it available for this request, and all subsequent requests within the current session. This approach would eliminate the need for the clunky javascript, making your application far more stable.

  • Help with timing, input from Daq, output sound

    Hi
    I am a student member of OSA, working on a laser listener project to be used in examples for high schools students. It is a pretty old and simple experiment but something I think students would be into. {any suggestions for other experiments anyone might have I would love to hear} 
    I read a voltage from a Daq off a reciever circuit, that signal is noisey so I filter it for the human voice range, 60Hz - 2000Hz. Then that filtered signal goes to the play waveform express VI. It works but the snag is I keep getting a "beeping" in the output sound, I believe this is from the loop cycling.  I have thought of something like a master/slave loops, storing the data in an array then waiting a sec or two and playing the sound from this data so I dont have to wait on the Daq to acquire new data. Any help or suggestions are greatly apprciated.
    This is a rough version sorry about the mess. I think it should also be noted that if the "Time Duration" is larger that 0.02 then that makes the number of samples larger than what the Daq can handle.
    Thank you very much in advance for all of the help and your time.
    Jason
    Attachments:
    OSA example.vi ‏42 KB

    Hi Jason,
    I took a look at what is happening in the play waveform express VI and the issue may be related to starting/stopping the sound card every time the loop iterates, similar to what I suggested with the DAQmx VIs in my previous post. To look into the code behind an express VI, you should copy the express VI to another section of your code or to another VI completely, because once you show the block diagram for it, you will not be able to use the express VI configuration dialog anymore for that instance of the VI. Once you copy the play waveform express VI, right click on the copy and select "Open Front Panel." Then, navigate to the block diagram and keep opening the subVIs until you find the "Simple Write" VI (see below for a screenshot of this VI). Here, you will see that there is a "Sound Output configure" VI as well as a "Sound Output Clear" VI. Since these are within the while loop of your top level VI, the "beeping" in your output may be caused by the constant configuring and stopping of the sound card with these VIs. What I suggest is that you use the code in the express VI as an example to code your own sound output vi that is configured once outside the while loop and stopped once after the while loop. Hope this helps!

  • Help with sending email from RoadRunner account on Mac, iPhone, iPad

    Recently, I have had strange issues where suddenly I realize that I cannot send email using Mac Mail (Mac OS X 10.8.1).  Its a very frustration condition where when everything was once fine, suddenly you stop being able to send email without what appears to be 'reason'.
    Today I learned the reason, and I assume others might run into this as well, so I am posting the issue and solution:
    Per Time Warner/RoadRunner support:  "When on your home network, the SMTP server does not require authentication.  When away from your home network, the SMTP server REQUIRES authentication"
    That is what I believe to be a mistake on RoadRunner's part.  Hundred of thousands of users will not understand that they need to change this setting anytime they go for a coffee at Starbucks.
    So to help, here is what I have come up with:
    From Mail -> Preferences, you need to edit your SMTP server list.  Click the drop-down list next to 'Outgoing Mail Server (SMTP) and select 'edit SMTP Server List.  Create two server connections and name one something that reminds you that it is the home network, and the other a roaming network.  Set the home network server config to Authentication -> None.  Set the roaming network server config to Authentication -> Password and fill in the username/password credentials.
    Having both these servers available for you to select from will reduce the impact of this inconvenient requirement from RoadRunner.
    .....Comcast.....please make service available in my area.....

    Bradley,
    You did it. I used your suggestion and solved what I hope to be the last of a very persistent problem.
    I made both a home and away SMTP server setting on my iMail. I tested both and are working well.
    Of all my research, your suggestion was the only fix to this problem. Now, I hope to be able to send email wherever I am instead of waiting until I am at a home network or worse, resorting to using my phone.
    Thanks again!

  • Help with Inconsistent data from NI6211

    I'm not getting very far with establishing good data transfer from an NI 6211 and don't seem to be able to pin point the issue or get confidence from DasyLab V10 to be able to look for the problem in another area.
    The NI6211 is set for period measurement and automatically uses a low frequency counter with sample on demand. The measurement range is set for 200ms to 1ms
    The Dasylab Counter Input task displays the sample on demand and block size of "1".
    I have also selected "10" as an output after timeout of 5seconds.
    I have set the module to use the Dasylab timebase and have configured all 3 timebases for 1000Hz and (tried higher and lower values) and set block sizes to 1.
    Whenever I change the timebase setting I always carry out a synchronise with MAX.
    I have been writing to a file using time deducted from data.
    With these settings I have the value "10" generated and stored in the file.
    When it says "Output after timeout (s) of:", does this mean that their has been no communication for 5seconds even though I can get time stamp information indicating only a few milliseconds have passed?
    Does time deducted information mean time deduced information (ie. time stamp from the data)
    Is there anything I need to do with A/D window? I have changed the sampling rate in there but it only appears to change the driver setting.
    Any help much appreciated.
    Thanks
    Mark..

    Additional to information in above post, the operating system is Windows Vista Home Premium with Service Pack 1.
    Could this be the underlying issue, Dasylab and Windows Vista are untested?
    Thanks

  • Help with returning query from loadURL()

    I finally came across loadURL() and figured out that I can
    use it to invoke my ColdFusion components without page
    reloading--very handy!
    Now, I need to figure out how to do this to return values
    from my components. Has anyone done this and have an example I
    could see, or at least point out to me a suggestion of code for
    successfully doing this?
    Right now, my component looks like this:
    <cfcomponent output="no">
    <cffunction name="getComments" access="remote"
    output="no" returntype="query">
    <cfset var rsComments = "">
    <cfquery name="rsComments" datasource="xmlTest">
    SELECT *
    FROM comments
    ORDER BY commenter DESC
    </cfquery>
    <cfreturn rsComments>
    </cffunction>
    </cfcomponent>
    I am trying to use loadURL() as follows:
    function myQuery() {
    var myDatasetURL = 'xmlTest.cfc?method=getComments';
    var req = Spry.Utils.loadURL("GET", myDatasetURL, true);
    In Firebug, the "Response" shows a serialized WDDX packet.
    I've not really messed with these before, so any help would be
    greatly appreciated!
    Thanks
    Joel

    Your first mistake was to choose an array. An array has a fixed length, so it's not appropriate for storing a sequence whose length you don't know in advance. You should choose a List instead; an ArrayList would be a reasonable implementation to choose.
    Then you just add the Point to the ArrayList. Here's how you declare it:
    List<Point> points = new ArrayList<Point>();and here's how you use it in the listener:
    points.add(evt.getPoint());Returning anything from the listener to its caller, which is something buried in the GUI hierarchy, would be... um... pointless.

  • Help with exporting data from pdf form

    I have about 100 pdf forms that I created in adobe forms central and distributed as a pdf form (rather than on the web). I am trying to export the data into a spreadsheet but when I export it, the fields are all jumbled in the csv file, as in they are not in the same order. I need to export the data all together so I'm going to the forms menu and selecting "manage form data" and then selecting "merge data files into spreadsheet". I tried exporting a single file but that gave me something really weird.
    Please help, I have a deadline next week to analyze this data and can't make sense of it once it is exported to a spreadsheet.

    Would you please share your form with me and send me one of your pdf forms and some of the csv files?
    You can share your form by doing the following:
    1. Click on the “Share” icon on the bottom left corner.
    2. Click on “Add Collaborator” on the popup menu.
    3. Enter [email protected] under “People to share with”.
    4. Set subject to "Export data from pdf form"
    5. Click the “Share” button on the bottom right of the dialog.
    Thanks
    Ken

Maybe you are looking for

  • Copy a group of cost centers from one controlling area to another

    Hello, is it possible to copy a group of cost centers from one controlling area to another? Or a group of internal orders? Thanks Jasmina

  • Problem with Sorting Detail Records

    Hello All, I have an ODBC connection to our AS400 System and I am able to retrieve records in Crystal. I am trying to perform a sort on the Cost Center field and then on the Salaries Account field. These two fields are Alpha Numeric fields. I went to

  • Why do my photos appear green?

    I recently synced some new photos and quickly realized that although my TV appears to be working just fine and the images, as seen on my computer, appear to be fine, all the images I am seeing through Apple TV appear "green." Any idea why this might

  • Importing Photos from iPhone to iPhoto on MacBook

    I usually plug in my iphone 5s (with ios7) to my Macbook Pro, to not only sync it/back it up to iTunes, but also to import photos that I have taken on my iPhone to my iPhoto library on the Mackbook. This process usually starts automatically once my i

  • Alum Powerbook 1ghz Does not Sleep when Lid is Closed

    Hi, I have a 1ghz Aluminum Powerbook with the lower memory slot issue. Everything is working great (besides the memory issue of course), and this one other bug: When I close the lid, the powerbook does not go to sleep. I have to manually select "Slee