Working with array variables defined in the BPM process

Hello,
I have created an array variable in my process. This array was created based on a custom type that contains 2 strings variables.
How can I set/get and add new items to this array variable using java code?
The only thing I know is that, if this was a simple variable I would do something like this:
DCBindingContainer bc = (DCBindingContainer)FacesContext.getCurrentInstance().getApplication().evaluateExpressionGet(FacesContext.getCurrentInstance(), "#{bindings}", BindingContainer.class);
JUCtrlAttrsBinding dc = (JUCtrlAttrsBinding) bc.findNamedObject("myVar");
dc.setInputValue("theValue".toString());
thank you
fwu

Hi
I've been working on TZ's recently... see this post:
https://supportforums.cisco.com/discussion/12474756/how-check-daylight-saving-within-uccx-script
My approach in the scripts was that basically I allow the department to set their opening hours in the timezone of their choice.
They have a management web page served from CCX that accepts start/end times each day, and a timezone. That all gets stored in XML.
In the script, based on that information I get the current time in whatever timezone is set, and compare that to the XML open/close times.
Similarly for holidays, I get the current date/time in the holiday TZ and compare the holidays to that.
Aaron

Similar Messages

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • Use of BinaryData variable type in the BPM

    First of all, please forgive me if I am being stupid, but...
    How do I load my data into a BinaryData variable type within the BPM studio.
    I can create a variable of type BinaryData but I cannot find any mention of how
    to load it with the data, nor any appropriate function!
    Thanks in advance
    Simon

    Hi,
    I have gone into transaction f.01 and am unable to find the component Transaction type in dynamic selections. If however you want to find Transacttion type 120 use transaction SE16n and table ANEKPV add in the transaction types (technical name BWASL) add other parameters example company code, period etc to get the related information.
    Award points if useful.
    Sadie Gajanand

  • Scope of the BPM Process variables

    Hi All,
    What is the scope of the process variables in a BPM Process?
    I had defined couple of process variables in my BPM process and observed that whenever i go into a Human Task activity and come back to the BPM process all my process variables values are back to null. Is this the expected behavior or am i missing some thing?
    Thanks,
    TK

    Hi Tulasi. Check for the Modeling and Implementation Guide for Oracle Business Process Management
    You can downlod it from here:
    download.oracle.com/docs/cd/E21764_01/doc.1111/e15176.pdf
    Chapter *8 Handling Information in Your Process Design *, particulary section *8.12 Scope and Access*

  • Working with TimeZone variables in UCCx script

    Hi Team
    I'm wondering if you guys could help me to find out the best way to work with TZ variables in UCCx script.
    Because of different countries customer has a branches, I need to setup different TimeZones for each country handled by the same centralized UCCx.
    In this post they use Java to work with TZ, however, but I prefer another way to work with TZ variables:
    https://supportforums.cisco.com/discussion/11851751/how-make-uccx-holiday-script-timezone-aware
    My idea is to work with Time Zone variables in the script, so what I did was to create different TZ variables and each one of the them assigned the proper timezone based on the country, so depending of the Trigger involved (DNIS), I can find witch country this call came from and give the right timezone.
    The problem I have is that at the time I want to add or subtract two variables of TZ, I got an error because of the syntax. I've been trying different options, but until now, no luck.
    Would you mind you guys who had been working on this let me know what is the right syntax to add or subtract TimeZone variables un UCCx?
    Thanking you in advance
    Martin

    Hi
    I've been working on TZ's recently... see this post:
    https://supportforums.cisco.com/discussion/12474756/how-check-daylight-saving-within-uccx-script
    My approach in the scripts was that basically I allow the department to set their opening hours in the timezone of their choice.
    They have a management web page served from CCX that accepts start/end times each day, and a timezone. That all gets stored in XML.
    In the script, based on that information I get the current time in whatever timezone is set, and compare that to the XML open/close times.
    Similarly for holidays, I get the current date/time in the holiday TZ and compare the holidays to that.
    Aaron

  • I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders

    I recently began using reminders in ical and downloaded the iPhone and iPad app. It works great. However, the reminders in ical on the COMPUTER is difficult to work with - thin long column on the right rather than in it's own screen. is there a reminders app for the COMPUTER that is more user friendly?

    sgreenie,
    If you are willing to wait, Apple - OS X Mountain Lion - Inspired by iPad. Made for the Mac explains that a "Reminders" application will be included in the next release of OS X.

  • I need to know how to delete the most recent version of Firefox. I JUST downloaded it tonight and my computer doesn't have that little edit bar to work with so I can download the proper Adobe player and my internet has been screwed up ever since I downlo

    I need to know how to delete the most recent version of Firefox. I JUST downloaded it tonight and my computer doesn't have that little edit bar to work with so I can download the proper Adobe player and my internet has been screwed up ever since I downloaded the new version of Firefox. I just want the old version of it back since I apparently can't download the Adobe stuff that is necessary to keep my computer safe from Hackers. It sure would have been nice to know there was an issue with the new Firefox Update BEFORE I uploaded it. I have Vista which is usually an issue with both Adobe and Firefox. I don't seem to be able to run much of Adobe at all on my computer because of the Vista.
    == This happened ==
    Every time Firefox opened

    I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.

  • I want to work with shared variables. How can I add a remote pc?

    I did an aplication to work with shared variables, but I do not know how add a remote pc. I tried make it in Variable Manager, but Labview showed a error message: "Cannot Connect to Target xxxxxxxx". What can I do?

    Message Edité par JeromeL le 08-28-2007 06:44 AM
    Jérôme LIBBRECHT

  • TS3218 My iPod Nano 6th generation fell one time and it kept working with a small crack in the screen.But after a while it just gave out and does not turn on.I try to charge it and all it does is blink the apple icon on and off.When disconnected nothing h

    My iPod Nano 6th generation fell one time and it kept working with a small crack in the screen.But after a while it just gave out and does not turn on.I try to charge it and all it does is blink the apple icon on and off.When disconnected nothing happens.

    I am having the identical trouble as described above with my month old Macbook Air. I tried everything with the ditto results. Please help anyone!
    Mine is a Macbook Air 13', 128GB, 1.86GHz with 4 GB RAM.

  • Works with two component iu in the same PDA

    HI:
    I have two componentes IU in Mobile 7.1 patch07 for handhelds.
    I need to access a view from one componente iu to another view of another componente iu.
    Can I work with two componet iiu n the same PDA and have communication from one to another?
    Best Regards.
    Maria Elena

    HI:
    There any way to configure the main menu of SAP Mobile 7.1 where you have applications that are deployed in the PDA?
    De esta manera podría crear más de un componente dentro de una aplicación y poder tener más de un link en el menu principal
    Best regards
    Maria Elena

  • Error message an error occurred while signing in " when I worked with Create PDF and at the signed

    Error message "an error occurred while signing in " when I worked with Create PDF and at the signed in status. Please help so that I can continu my work.

    Hi Stacy,
    Thank you for your attention.
    I have been working with Create PFD under normal procedures including
    sign-in and several documents had been finished. However, when continued
    creating another document the computer took a long time to pprocess and
    finally a mesage appeared: "An error occurred while signing in" and stopped
    there. I clicked the OK button and start creating again and the same
    message appeared once more. I tried to log off and log in again in no
    avail. So I went to the help site and called for help.
    Later, I decided to reboot the computer and tried once more. This time it
    worked and I continued creating. Thanks.
    laozhao39

  • TS4062 hi can somebody help me... itunes does not accept the iphone 4s but i already have the version 64 bit to work with windows 7 64 bit,  the computer recognizes the phone but itunes sais i need 64 bit itunes.... please is there something im missing...

    hi can somebody help me... itunes does not accept the iphone 4s but i already have the version 64 bit to work with windows 7 64 bit,  the computer recognizes the phone but itunes sais i need 64 bit itunes. please is there something im missing... thanks

    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • Firefox 4 is awesome, but the main backbone addon of the same i.e.IDM cc... that is not working with it...thats the main drawback for user like me which makes us to immediately shift to the older version of firefox, and stop using the new version 4...

    Try to include the IDM cc version which works with firefox 4 tooo, like the all other older versions...

    You might try using the add-on 'NoSquint' which allows numerous zoom options specific to each page you visit & keeps your settings - https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    If you want to go back to 3.6x, you will find it here:
    http://www.mozilla.com/en-US/firefox/all-older.html
    In most cases you can simply "upgrade" (meaning downgrade) directly from the installation. It would be a good idea to save your passwords & bookmarks just to be on the safe side.

  • Will my iPhone 4 charging adaptor (output 5v, 2.1a) work with my iPhone 5?  The adaptor that comes with the 5 is 5v, 1a.

    Will my iPhone 4 charging adaptor (output 5v, 2.1a) work with my iPhone 5?  The adaptor that comes with the iPhone 5 has an output of 5v, 1a.  I am concerned that the output is too high for the 5.

    It will work fine. The iPhone will only draw the power it wants.

  • Membership rules does not work with UDF column name having the max length

    Found a bug in OIM .
    Membership rules does not work with UDF column name having the maximum length
    Steps to Reproduce
    1.Create a UDF having max column name length for eg UDF_USR_PERSONAL_SUB_DOMAIN_CO (lable = Personal Code)
    2. Create a simple Rule like Personal Code = 7000
    3. Assign this Rule as a member ship rule of a Group.
    4. Create a user with Personal Code = 7000.
    5. User doesnot get the group membership.
    Thanks
    Suren

    Yes , i verified logs as well .
    If you just decrease the column name length , w/o making change to any other attributes , it starts working ..
    Thanks
    Suren

Maybe you are looking for