WF Builder: Container elements sporadically disappear

Hi all,
On a 620, patch 54 system I have container elements which occasionally disappear from the WF builder.
They exist in a flow I've been building and testing for a while, I make some more changes, activate it and then it whines about binding errors - because some container element that's been there for a few days has gone AWOL.
The first two or three times I thought I might have deleted them by mistake, but it's happening far too often. I've found OSS note 821950 "Workflow Builder: Container, data types disappear", but that's already in our system.
Anyone seen this and can shed some light?
Any input appreciated,
Cheers
Mike
(Cross-posted to SAP-WUG and SDN-BPM)

Ah... WF task container. Now we're going back to version 4.0, no? Nice idea though, despite being a bit ... well, "we're not supposed to do that anymore", I did mull it over.
I worked out that I'd have to put about 40 elements across all my WF's into the PFTC tasks. For that effort - if they disappear once or twice a week - it would take me over 20 weeks to come out evens against the effort of recreating the odd one when it happens. That's well past go-live, and well past my time on the project so I think I'll just stick to recreating the odd one as it disappears
Thanks - also to Ramki for convincing me I'm not going insane,
Mike

Similar Messages

  • How to create workflow container element from workflow builder?

    How to create workflow container element from workflow builder?

    in workflow
    three are five container, for each container we have define according to requirement of that particular container.
    1. event container
    2. workflow container
    3. task container
    4. method container
    5. rule container
    1. event container
    in evernt contianer we have to create elements in BOR where we create event in parameters
    2. workflow container
    in workflow container we have to create elements in workflow builder itself. in left side of the screen we see <double click to create element>
    3. task container
    in task container we have to create in task itself it has a tab called container elements
    4. method container
    in method container we have to create in BOR. it is created in parameter of that BOR.
    5. rule container
    in rule container we have to create in PFAC transaction

  • BPM: How to return the total number of lines in Multiline Container Element

    Hi all:
    I am trying to follow the following blog to do message splitting:
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    In the blog, total number of messages for Message1 was returned to Count in Message 2.
    If I do not want to create message 2, if there any way to return total number lines in multiline elements ? Because this number need to be used to specify in loop condition:
    While Indxe != TotalNumberOfLines
    Thanks
    Liang

    Hi, Matias:
    For the loop block option, your answer is passing message count in different message type is best option !
    I really do not know why SAP does not deliver a build-in function to return the number of items in multiline element at run time ?
    Now the question for the second option: ForEach block:
    When I leave current line of block properties empty, the compile does not pass
    I have to input a another element (Var_Cur) in current line
    Inside my block, I have one send step, it will send Var_Dest[Index],  followed by a container operation step to increment Index by 1.
    With above setup, I compile it, compile passed, but it says:
    "Container Element Var_Cur in Step Block1 is initialized but not used"
    then I added another containter operation step in block:
    Var_Cur = Var_Dest[Index]
    I modified send step to send Var_Cur rather than Var_Dest.
    Up to now, I can compile it without any warnings.
    But when I send message to IE, the message pass pipe line, but it seems does not pass the BPE.
    When I go to SXI_CACHE, to check the return code for my Integration process is 0, means no error.
    But my message does not reach my target system.
    Where do you think I made wrong ?
    Thanks
    Liang

  • How to create a container element in workflow container

    Hi,
    I am learning WF by a Tutorial. In which absence of notification was considered as example. As per tutorial, I created two task for creating a Notification and checking a absence
    In the next step it ask to create a container element(approver) to workflow container. How i can create the same.
    Also, please clarify me on the binding between task container and workflow container....with this example
    Thanks
    Suresh

    Hi,
    On the workflow builder LEFT side below the navigation area u can see this <Double-Click to Create>.
    Double click and create the container.
    During binding it looks as follows.
    Workflow  -
    >   Task
    Workflow <----
    Task
    What happen here is from workflow the data passed to task and it is used for processing, after that it returned back to the workflow. Now u can create the container on bothside and bind the data. ie Variables.
    Creating container u can refer : http://www.****************
    Reward for useful answer.
    Richard A

  • Accessing container element in the User Defined Function

    Hi All,
    I am accessing a container element in the user defined function.
    But it is not working. Actually i want to split a message(1800 records) into a batch of 200.
    But it goes in a infinite loop.
    Please can you tell me where i am wrong.
    Smita
    The code is :
    public void SplitMsg(String[] a,ResultList result,Container container){
    Object container1;
    String counter;
    int i,j=0;
    container1 = container.getParameter("value");
    if( container1 == null){
    counter  =  "0";
    else {     
         counter = container.toString();
         j = Integer.valueOf(counter).intValue();
    for ( i = j ; i <= j + 199 ; i++){
         if ( i  >= a.length){
              container.setParameter("value","9999999");
              break;
         result.addValue(a<i>);
         j += 200;
         counter = Integer.toString(j);
         container.setParameter("value", counter);

    Here is another way to accomplish what you wanted.
    For the target mapping, use this sequence for mapping
    Source element -> removeContext -> Your User-defined Function -> Target Element
    When defining User-Defined Function, select "Cache Queue" option.
    Since you are using removeContext before calling the UserDefined function, your input to the user defined function will be a String array without ResultList.CC.
    Now manipulate the array the way you want it, and build the ResultList result.
    After every 200 records, use method
    void addContextChange().
    This will insert the ResultList.CC at the appropriate places.
    Use Display Queue in the Mapping Editor to see the debug values.

  • How to create a container element?

    Hi,
    Could somebody please tell me how to create a container element and how to create a multi container element? How is this element used in the fork step?
    I am using a fork with 3 branches but the agent assignment is a problem.The workitem does not go to the user set in the agents tab.
    Regards,
    Monica.

    Hi Monica,
    Within your Workflow Builder, there is a box on the left hand side that (Workflow Container). You should have an option (in change mode) to right-click and create or double-click on the <Double-Click to create> tab.
    Or you can go to the Workflow Container "Goto -> Workflow Container" and click on the "Create" <F5> icon.
    Same theory applies to creating a container element in your task. Go to your task and click on the "Container" button and select "Create".
    When creating your container, you can specify if it is a multiline container by checking "Multiline" under the container attributes.
    In a fork step, you would really only use your "Container Element" in the "End Condition" of a Fork step.
    Please advise what the "Agent Assignment" is referring to when you're using it in your fork? Which step in the fork?
    If you are assigning agents in one step of the fork, you cannot expect these agents to apply to your other 2 fork steps. The forks work independently of each other (to a point).
    Please provide more information if you need more help.
    Kind regards,
    Tom

  • Workflow: Delete container elements

    Hi All.
      I was modifying a workflow made by someone else.
    I tried to delete unused Workflow container elements.
    But got the following message:
    "Inherited Elements may not be deleted".
    What does that mean, and how do I delete these unwanted elements?
    Thanks in advance.
    Regards.
    Samant

    Samant,
    This is the right forum. I have never come across nor did I hear of this message before. If the workflow being modified is already in Production, my advice is to make sure these elements were not used by any versions of the Workflow in production that may still be in process. That said please clarify if the WF Syntax Check point out the elements you are trying to delete as unused?
    If you have not already done it, I suggest you take a look at OSS Note #125400 - Modifying a productive Workflow.
    <b>Following added by: Ramki Maley @12:17PM</b>
    Are you sure you are trying to delete WF conatiner elements using either the Workflow Builder (SWDD) or the template editor (PFTC)? Looks like the message you are getting is from the Object Type editor (SWO1). If you are trying to delete attributes of a BO sub type, the message is self explanatory. Your sub type inherits the attributes of the original object type - a standard SAP object. You can only delete the attributes that have been defined for the sub type. <u><b>Be absolutely certain before you delete any attribute, that it has never been used in Production Environment</b></u>.
    Cheers,
    Ramki Maley.
    Message was edited by: Ramki Maley

  • Set a container element inside class to exit a loop

    Hi,
    I want to set a container element inside a class to exit a loop.
    The element is marked as import/export parameter and the binding from the task to the container exists as well.
    The loop has a condition  &finish& = X but I cannot exit the loop. Looks like the value gets never updated in the container.
    When i am using a container operation to set the element its working but i want to do this out of my method in the class.
    Is it not possible to change a container element inside a loop without using a container operation?
    Thanks,
    Christoph

    Hi,
    Using the container operation is a good method to solve the problem. But if you intend to do that in the method coding itself then you will have to have it as the export parameter of the method. You can view all the import and export parameters of a method by going to the Business Object Builder (SWO1) and then choose the method and click on the "Parameters" Button. Once you are done with the interface of the method use that method in the workflow builder as a task and in the binding there are two rows. One for the import that occurs just below the container elements and the export parameters appear below the import in a separate window. Make sure you have the binding set there too as this is where you can transfer the container elements back to the workflow container from the task container and it should work. Maybe you are missing that in the binding.
    Hope it helps,
    Sudhi

  • Build container   help

    Hi,
    There is transaction to build container   ?
    i need some example for that .
    Best Regards

    You mentioned containers, the control framework uses screen containers to embed the control into.  The example are there.  You need now not "create" a container via some other transaction.  You simply add UI element in screen painter to your screen, it is called "Customer Container".  You give it a name, and then in the PBO of your screen, you create the container object by using the CREATE OBJECT statement.  Then embed the control(ALV, text editor, picture, etc) into this container.  The examples will show this coding.
    Regards,
    Rich Heilman

  • Container element is not being displayed in email

    Hi Experts,
      I inserted an element from container into email text as below
    The task has been pending in inbox for more than &ins_num& days.
    The value of &ins_num& in container is 9
    In output I get
    The task has been pending in inbox for more than  days.
    Please let me know what is wrong. The binding works fine. No error in workflow.
    Thanks.

    Hi Miak,
    Greetings..:-)
    > I inserted an element from container into email text as below
    > The task has been pending in inbox for more than &ins_num& days.
    > The value of &ins_num& in container is 9
    > In output I get
    > The task has been pending in inbox for more than days.
    > Please let me know what is wrong. The binding works fine. No error in workflow.
    Check on the Following things:->
    1> The Container Element has Initial Value defined, If Yes - it should symbolise in Green Colour.
         If 'Not', then check the WF Log and see whether this Container Element is fetching the Values orr   not.
    2> If the Values are not being Fetched, then the Problem lies with the Binding of these WF Containers.
    Let me know if you are still facing Issues.
    Regards,
    Kanika

  • XML DB: is it possible to get a row for each element in a container element?

    I have an XML document containing a container element (collection). If I query, using an XPath expression, the contained elements I get a row for each container element with the contained element concatenated. Is it possible to get a row for each contained element?
    I run this simple query:
    select extract(xmltype('<colors><color>Red</color><color>Green</color></colors>')
    , '/colors/color/text()').getstringval() from dual
    And get this result:
    EXTRACT(XMLTYPE('<COLORS><COLOR>RED</COLOR><COLOR>GREEN</COLOR></COLORS>'),'/COL
    RedGreen
    1 row selected.
    What I would like to have is:
    Red
    Green
    2 rows selected.
    Wishful thinking or possible? Many thanks!

    Sure. This is where our XMLSequence() function comes in. It allows you to treat the top-level nodes in a nodeset as if they were rows in a table when combined with the TABLE() operator. Here's an example.
    First, to make the SQL look a little cleaner, I like to define a function like this:
    create or replace function testdoc return xmltype as
    begin
      return xmltype('<colors><color>Red</color><color>Green</color></colors>');
    end;.
    To break out the nodeset of <color> elements as a table, we use the following query:
    select value(list_of_color_elements).extract('*/text()').getStringVal() as color
    from TABLE( XMLSequence( extract(testdoc(),'/colors/color'))) list_of_color_elements.
    Or, using the new-in-9.2 extractValue() operator so we don't have to remember the text() part:
    select extractValue( value(list_of_color_elements), '.') as color
    from TABLE( XMLSequence( extract( testdoc() ,'/colors/color'))) list_of_color_elements.
    Here the TABLE(XMLSequence(...)) combo produces a table of XMLType, with one XMLType object in each row of the table.
    In general, if the XMLType instance were coming from an XMLType table xmltab the query would look like this:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( value(x),'/colors/color'))) colors.
    And if the XMLType were instead in a column of XMLType named doc in a table xmltab, then we would have the syntax:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( x.doc ,'/colors/color'))) colorsOnce you get the hang of it, you'll see that the combination of TABLE(XMLSequence()) to "shred" XML nodes into rows, and XMLAgg() to aggregate fragments of XML across multiple rows back into a single document, is quite powerful.

  • Hiding a container element  from a standard applicaition

    hi,
    i have a requirement to remove the UI elements in a transparent container from a view of a standard webdynpro component HRRCF_C_PREFERENCES_UI. This component is being used as a sub component in a main application.
    The transparent container within has a drop down list and a few buttons.
    So i created a component configuration for the component HRRCF_C_PREFERENCES_UI and changed the property of the UI element in the configuration to invisible. This worked, the container element was invisible in the application. But two other containers next to the UI element that was hidden did not move to the left . No proper alignment.
    Is this the standard behavior of a component configuration? i don't think so.
    Now in my option, the other only possible option is to hide the button by changing the attribute in the WDDOMODIFYVIEW method of the view.
    Could someone please help me how to set the attribute problematically? Is there a different way to meet this requirement?
    Need some help.Thanks.
    Best Regards,
    Sridharan

    Hi,
    Just go to enhancement mode in your webdynpro component and delete that button from UIElement hierarcy.
    If you want your button back, delete the enhancement.
    Regards
    Vishal kapoor

  • Assigning a value to container element in rule defination

    I am using a rule to determine an actual agent. I am using a function module containing actor_tab and ac_conatiner in TABLES parameter. the agent determined is appended to internal table actor_tab. I want this agent to be available in a container element(say: APPROVER) to use it further. I am trying to assingn the agent value to container element using macro  swc_set_element ac_container 'APPROVER' agent-name. But its not working...any other way to assgn this agent to the container element. Bindings from workflow container to rule container are proper.
    Edited by: Rishi Bhatia on Oct 19, 2008 2:46 PM

    i think you cannot modify the container element from Rule.
    the agents of the task determined by the Rule will be stored in some variable of the container automatically (i think it is RuleResult.Agents). you can check this yourself and then bind this element of the task to your APPROVER element.

  • BPM - An empty container element was specified when sending

    Hello Experts,
    My BPM process looks as below:
    Receive -> Loop (execute if the status of IDoc is ERROR(E))--> Mapping ---> End Loop --> Send
    The message is failing in BPM workflow with the log: An empty container element was specified when sending
    Container  for receive and send stepe are different. IP in SXI_CACHE has process code 0.
    Mapping program is defined between the abstarct msg type of receive step and abstract msg type of Send step.
    Th message being processed has initial status as ERROR and after the mapping step is exceuted, it retrieves teh current status i.e SUCCESS. This ends the loop step and while tying to send the messgae to target system, this error occurs.
    Pls advice if I am missing anything.
    Thanks,
    Elizabeth.

    Go to transaction SWWL  , select your integration process instance and delete it
    Create your process with a new name and run the scenario again
    Re: Prob with Integration Process
    regards
    Ninad

  • Error while creating container Element in WF

    Hi,
    I have created a container element with field vbeln, and specified an initial value. Created mail step and activated it.  I have given the mail subject and content  as "value given : &vbeln&".  When I try to test this I couldn't find the container element in " Input Data" tab  of the Test Data and getting the message as "Contnr elem. VBELN  is for read purposes only. No values are assigned to it." 
    Could anyone suggest me to correct this, because I am new to WF.
    Thanks,
    AA

    Hi AA,
    You would probably need to create more than one containers.
    In workflows, we have following types of containers:
    1. Workflow container
    2. Task Container
    3. Event Container
    Now, since you need the element VBELN, try the following:
    1. Create a WF container for VBELN. Make it as both input and output parameter.
    2. Create a container for the Mail Step, again with VBELN field as an input parameter.
    3. There would be a button for binding in the mailstep. Bind the Field VBELN from Work flow container to the Mail Step container.
    Once binding is done, save it and Activate the Workflow.
    Hope this helps.
    Do get back in case of any issues.
    Regards,
    Sonal

Maybe you are looking for

  • Printing?

    This seems like it should be fairly simple to figure out, but I just cant do it. I want to print my iCal in list view, but only the days that have an event on them. It keeps showing every day in between. Im sure theres some way to fix this, I just ca

  • Iphone with ios6 as a remote for apple tv - song sometimes skips

    I use iphone with ios6 as a remote for apple tv but sometimes a song skips while playing. What can I do to stop this?  Very annoying as I'd like to use it for a party. Thx

  • HP LaserJet 400 colorMFP M475dw scan to email problems

    Hi all! I'd very much appreciate a solution to my agony. We recently purchased a HP LaserJet 400 colorMFP M475dw multifunction printer. Now I'm trying to set it up (browser administration -> Scan --> Outgoing E-mail Profiles) to send scanworks by ema

  • In which screen the Profit Center field can be seen in SAP CRM Product Master?

    Hi SAP Experts, Please provide your valuable inputs on the below request: 1) Do we have profit center field in SAP CRM Product Master?If yes  then in which screen can we see? 2) At the moment we  are not using the profit center field in either of the

  • Windows 8.1 Fingerprin​t Reader Will Not Work With IE11

    After upgrading to Windows 8.1, I am having issues with Fingerprint Reader in Internet Explorer 11. I have upgraded to the latest Lenovo FPR software for Win 8.1 (6.0.0.8102) which has not helped. FPR works fine to log-on into Windows 8.1. When I try