How to instantiate BPMObject associate to a group attribute?

In my project exists a BPM Object called Person, this BPM Object has an attribute of type "group" and this group is associated a BPM Object called ItemList.
I'm trying instantiate this object but without success, i'm trying this with the code below:
Person person = new Person();
int i=0;
for (String values : StringList) { 
   person.value = values;
i++
When I run the code, the error below is returned:
The task could not be successfully executed. Reason: 'javax.servlet.ServletException: The task could not be successfully executed. Reason: 'java.lang.RuntimeException: fuego.xobject.runtime.InvalidXOAttributeException: The task could not be successfully executed. Reason: 'fuego.xobject.runtime.InvalidXOAttributeException: BPM Object 'xobject.TSObjects.TSApproveExchange$GrpExchange' attribute 'itemList' was not initialized. BPM Object attributes that are not of native types need an explicit mandatory initialization. The initialization of this attribute can be done in the BPM Object constructor.'.'.'. If i'm trying instantiate this Object with the code +person[i] = new Person.ItemList();+ the ALBPM mark the line with error.
How to instantiate a BPMObject of the "group" type?

Hi,
Know how you feel. This one bites all us every once in a while.
Expand your BPM Object's Group by clicking the "+" sign beside it. Double click the constructor method for the Group (not the BPM Object's constructor). If the name of the Group's attribute is called "itemList" and if this is an object of the type "ItemList", then add this one line of logic:
  ItemList itemList = new ItemList(); Know you know this, but here's one way to populate your "itemList" items in the group from a method in the BPM Object:
for (int i = 0; i <= 4; i++) {
    Integration.ItemList newItem = ItemList();
    newItem.city = "Dallas";
    newItem.number = ((String) i);
    this.group.extend(itemList : newItem);
}Hope this helps,
Dan

Similar Messages

  • How to ADD Materialized Views to Refresh Group

    Hi,
    My requirement is, i want to refresh MVs(fast refresh only) by using DBMS_SCHEDULER. For this i have created one DBMS_SCHEDULER job like below.
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    JOB_NAME      => 'REFRESH_MV_UPLOAD',
    JOB_TYPE           => 'PLSQL_BLOCK',
    JOB_ACTION      => 'DBMS_REFRESH.REFRESH('MV_UPLOAD_GRP');',
    REPEAT_INTERVAL      => 'FREQ=MINUTELY; INTERVAL=30',
    ENABLED      => TRUE
    END;
    In the above script, i created one refresh group 'MV_UPLOAD_GRP'. So what my requirement is i want to ADD my MVs refresh scripts to this group. Scripts as below...
    Refresh MV Scripts:
    1) Exec dbms_mview.refresh('emp.entity', 'f');
    2) Exec dbms_mview.refresh('emp.identifier', 'f');
    3) Exec dbms_mview.refresh('emp.rating_hist', 'f');
    . so on.
    Can anyboy help me how to add these scripts to refresh group 'MV_UPLOAD_GRP'.
    Regards
    Raj

    ALL_REFRESH and ALL_REFRESH_CHILDREN
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarsnapviews.htm#REPMA027
    Nicolas.

  • How do I create an e mail Group on iPhone ?, How do I create an e mail Group on iPhone ?

    How do I create an e mail Group on iPhone ?, How do I create an e mail Group on iPhone ?

    In the native mail app, ther really isn't a way to do this. Groups in the Contacts app are only for organizing. You might check the app store for alternate mail app for doing this.

  • How can I set up an SMS group so that all group members can dial a group number and have a text sent out to all members of the group

    How can I set up an SMS group so that all group members can dial a group number and have a text sent out to all members of the group
    This would be an SMS group similar to an email listserv but running on the SMS network
    I have seen private individuals offering this service
    It seems strange to me that no internet site like Apple, Yahoo or Google offers this as a free service much as the email group services are free services.
    Steve

    I think the app GroupMe might do what you want. You might also try contacting your carrier. My carrier offered some fancy group texting service for a while but they never really advertised it so, unless you asked, you never would have known. But, GroupMe is available in the app store. There are lots of other apps that also do group texting but it seems to be the one that gets recommended the most.

  • HT204074 How do I re-associate a MacBook Pro to my Apple ID?

    Hey,
    Apparently - I have no idea how - my MacBook Pro has become dissassociated from my Apple ID. The primary symptom of this highly irritating situation is that content bought on other devices (using the same Apple ID) are now no longer available for me to download via iCloud (error dialog as below).
    I can find no reference to how I might re-associate my machine to my Apple ID. This support article - http://support.apple.com/kb/HT4627 - should answer the question, given it's title, but it doesn't. I don't even know how the MacBook Pro became dissociated...
    I should be able to associate 10 devices to my Apple ID - I currently have 5.
    I should be able to re-associate a device that has (somehow) become dissociated (shouldn't I?) - but I can't find out how.
    Anyone got any bright ideas? Apple Support have been their usual very pleasant but so far rather ineffectual selves...

    Swipe to the bottom of the featured tab in the App Store and tap on REDEEM. Then you will have to enter the code number in order to add the amount to your iTunes balance.

  • How do I add a user's group calendar in iCal?

    How do I add a user's group calendar in iCal?
    I just keep getting "the account was not found"
    But the account works for its own network calendar.
    None of the following locations work -
    master.mydomain.net:8008/principals/groups/domainusers/calendar
    master.mydomain.net:8008/principals/wikis/domainusers/calendar
    master.mydomain.net:8008/calendars/_uids_/wiki-domainusers/calendar
    and every variation I can think of (I've tried master.local, http:// & webcal:// and a / at the end)
    I can add a users network calendar account to iCal.
    I can subscribe to a group / wiki calendar in iCal.
    I can add an event on the wiki calendar as a user.
    But I want a user to be able to add an event to a group calendar in iCal.
    Any ideas would be appreciated.

    Hi!
    I've got the same weird problem..
    I tried that url and I can open it in Safari and I even can add the calander in iCal on a macbook with 10.5 - but i just can't add it on my macbookpro with snow leopard.
    Did anybody made that work on a snow leopard machine?
    Best regards,
    Fabian

  • Please help me how to check a material does existed group code in system (w

    Hi all,
    Please help me...
    I have inputted quantity for  tx MC 94  but when I input them into  tx MC94, I met  a message " Structure  not yet maintained for  this conbination characterstics". Step by step to show a error message as below:
    Step 1: Launch MC 94
    step 2: Enter Planning
    Step 3: Enter  Prod.Code. Material (ex: enter material code :0101010260008, this code is existed  Prod.Code )
    Step 4: Click on "Inactive Version " button
    ==> A error message is showed.
    Please help me how to check a material does existed group code in system (which table to  check  it)?
    How to record the message" Structure  not yet maintained for  this conbination characterstics" to catch up it in my program?
    Thank in advance.

    Karenloria,
    1. Check in MC8C, which Infostructure is used for Planning type "Planning" or the one you are entering in the intial screen of MC94.
    2. Using transaction MC63 for the infostructure identified in step 1, check the planning hierarchy maintained. If this product is not maintined maintain using MC62.
    You can also check using SE16 transction the current infostructe records(Plan) for the table name = infostructure identified in step 1.
    Regards,
    Prasobh

  • How to move Tablespace from One disk group to another disk group in RAC

    Hi All,
    I have 11gR2 RAC env on Linux.
    As ofnow I have problem with disk group. I have 3 disk group which is almost full - 98%. I have added one NEW disk group and want to move some of the Tablespace(TBS) from OLD disk group to NEW diskgroup and make some free space in OLD disk group.
    Can any one suggest me how to move TBS from one disk group to another disk grup without shutting down the instance.
    DB is in Noarchive mode.
    Thanks...

    user12039625 wrote:
    Hi Helios,
    Thanks for doc id but I am looking for noarchive mode solution. becaues I got ORA-
    "ORA-01145: offline immediate disallowed unless media recovery enabled " when run alter database datafile '...' offline.
    Hence I am trying something and findout below steps but not sure how useful it is:
    1- put tablespace offine
    2- Copy the file to new diskgroup using Either RMAN or DBMS_FILE_TRANSFER.
    3- Rename the file to point to new location.
    4- Recover the file.
    5- Bring the file online.
    I had move 240M TBS from OLE to NEW.
    These steps run successfully so I think this is valid for noarchive mode.Hence want to confirm..so inform me please.
    Thanks :)I have doubt in my mind:
    1. You database is in noarchivelog mode
    2. You're taking tablespace offline
    3. Suppose you're moving a file of size 10GB(or any larger filesize) to another disk group
    4. Now after moving the file, you're trying to bring the tablespace online............NOW
    tablespace will need recovery. if the required data is inside the SGA then it is ok. But if the data has been flushed, then?
    if step 2 and 3 has taken significant time, then most probably you'll not be able to bring that tablespace online.
    Regards,
    S.K.

  • How to create a Custom UIView and How to instantiate that ?

    How to create a Custom UIView and How to instantiate that ?
    In Flash, all we need to do is create a MovieClip and assign it a class name in the library.
    Instantiation is a simple matter of:
    var newclass:CustomClass = new CustomClass({initialization_data:1652});
    addChild(newclass);
    At this current point in time, my understanding of creating custom UIView in xcode is limited to the understanding that you have to:
    1: Forward declare the class in the header.
    2:
    ]newclass *CustomClass in @interface's {}
    and THEN
    @property (nonatomic, retain) newclass *CustomClass;
    in the header file also.
    3: Nib initialization in the implementation file in viewDidLoad and do "addSubview".
    ==============================
    Based on my limited understanding at this point, I find the need to
    @property (nonatomic, retain) newclass *CustomClass;
    at the header somewhat limiting...as it denotes you must know how many instance you will create in the application before hand.
    I believe I am wrong here, hence, my question is, how do I add custom UIViews with initialization codes in real time ?

    hi,
    one workaround i could think of is using the CM views to search for content that belongs to a category and display it in a custom way.
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc904/wwsbr_api_view.html
    this only allows you to search for the meta-data available in the CM views but not the content of an item that is available when doing a search.
    in the next major portal release we will have a publich search API that can be used for these type of requirements. you can execute your search and format the results in the way you want.
    regards,
    christian

  • How to run the Invoices in different groups within the batch in AP

    Need to know that how to run the Invoices in different groups within the batch. This will be of very helpful when we deal with lot of lines under one batch. (e.g) like somewhere we issued a Corporate Card to all the employees Via Bank Of America. Every Month they will send the complete details of all the employees who ever swiped the corporate provided BOA. Accordding to Natco all those lines should be loaded as One Invoice so that a Single Payment can be provided to BOA and it will also makes their life easier. This standard program sometimes it works normal sometimes it will run like a TORTOISE. So thats why in the manual they suggested to use GROUP ID to split the Invoice Load.
    So plz tell me how we can run it
    plz give me the solution
    thanks

    can you give me some material or document on that so that i can read actuaaly i need to make doc on it..

  • How do you get your contacts into groups?

    how do you get your contacts into groups?

    When you ask a question, please include the version of Mac OS X on your computer. iOS is not a Mac operating system.
    Assuming you are running OS 10.9.1:
    Open Contacts. Click File in the menu bar and select New Group. Enter the name of the group in Contacts on the left.
    Go back to All Contacts (on the left) then drag and drop the names you want in that group on to the folder you just named.
    Repeat as necessary for other groups.
    Note that the names remain, as they should, in All Contacts, even after you have added them to a group.. You can delete a group if you want. The names will still remain in All Contacts.

  • How to Add multiple entry to the group policy security filtering

    How to Add multiple entry to the group policy security filtering
    Is there any way we can add multiple entry to the Domain group policy Security filtering tab.Currently its not allowing to add more then one entry at a time.
    Getting Error like "only one name can be entered,and the name cannot contain a semicolon.Enter a valid name"

    Hi
    Are you trying to add more users or groups through Group Policy Management Security Filtering tab?
    Try right clicking on the policy and then edit
    Then in Editor Right click on the name of the policy and Properties
    Security tab and add user or group from this tab. Just make sure if you are adding user or groups "Select this object type" has
    the correct option also "From this Location" is set to your entire directory not the local server.
    Update us with the above.
    Thanks

  • How do i delete myself from a group text?

    how do i delete myself from a group text?

    Sodaboy1978 wrote:
    Reply back and tell them to take you off.
    NOt that simply, the original sender would have to create a new group message omitting the OP from it.

  • How to create a new user and group on command line?

    Hi,
    I am trying to install INN, the news server on OS X.4.8 (non-server), but it requires me to create a user and group, both called 'news'.
    I know this has something to do with using Netinfo to create them, but I am logged in remotely via ssh and I can't use Netinfo Manager.
    How do I create new users and groups via the command line.
    Thanks for any help.
    PowerMac G5 2x2.7GHz   Mac OS X (10.4.8)  

    I've put some shell scripts that do this here,
    and descriptions
    add_user
    addgroup

  • How to add a button to the grouped data in an AdvancedDataGrid?

    Hi,
    Can anyone please suggest how to add a button to the grouped data in the AdvancedDataGrid?
    I have tried extending the AdvancedDataGridGroupItemRenderer and using it as the groupItemRenderer but its not reflecting.
    For the leaf node the itemRenderer property works just fine.
    Please help!

    HI ,
    I want to add a push button on the ALV list out put which is comming as a pop up and I want this using classes and methods.
    I have got a method IF_SREL_BROWSER_COMMANDS~ADD_BUTTONS from class cl_gos_attachment_list  but still I am unable to get any additional button on the output ALV popup.
    Please help.
    Regards,
    Kavya.

Maybe you are looking for

  • I cannot update apps on ipod. Help please.

    So before, i already posted a question about this and i just figured out that it is my internet conection that has the problem, not the ipod. It seems that my internet connection or router settings has a problem connecting to my ipod or i don't know.

  • Web services SAP R/3 4.7?

    hello, Can I create web services with sap R/3 Enterprise 4.7 ? How can I do that? Do I need the java stack installed? Does enterprise services repository exist in 4.7? Thank you very much!

  • Upload problem in Safari with Flash Player

    Hi All, Had this problem for ages and was thinking to sort it out now. I can't upload files thru flash uploader such as google email, soundcloud and other sites. Getting following error messages: Google - Attachment failed. This may be due to a proxy

  • Menu bar not always appearing (dropping down) in Safari

    Hello everyone, I was just wandering if someone could help me out with this small problem - or perhaps its a bug others have experienced. Basically, since upgrading to Mavericks I have this annoying problem whereby when I drag my cursor to the top of

  • HTC Incredible - Screen won't awake.

    I've had the HTC Incredible since it first came out and up until yesterday have not had any problems. I don't know what happened, but some how the phone will no longer wake up except by pulling the battery. I can turn the screen off by pushing the on