Properties of the element of a task container.

Hello there,
  The element I am binding from workflow to the container element doesn't allow me to change its property to 'import'
When I check the binding. I get this diagnostic message:
<element-name> is not an import element and is hence not to be changed
Message no. SWF_BND_001016
Diagnosis
The current binding instruction is aimed at an expression whose basis element <element-name> is not an import parameter. Only import parameters should be filled.
Procedure
If the value has to be sent, the element <element-name> should be marked as an import parameter and thus included in the interface.
Can anybody tell me how to fix this.
Thanks and regards.

Hi,
From the problem that you have I assume that you are doing the binding from the Workflow container to the Task container. If that is right then check the following:
1. The task container is nothing but a reflection of the method parameters. When you define your method in SWO1 then these parameters usually get generated automatically if you use a function module or a BAPI. You have the option of adding them as well. There you have the check boxes of Import, Export and Multiline. You can change them but since they are auto generated you should not change them as they are a reflection of the interface parameters of the Function module.
2. If you want to change the entire container's property then go to the respective task either from the workflow builder or PFTC and then go to the tab "Container", select the container nd go to the properties tab and change the properties. However this applies to the container elements you have created and not the generated one (_WI_OBJECT_ID).
Hope this helps,
Sudhi

Similar Messages

  • Arrays greater than 0 and taking only the elements that doesn't contain that

    Hi, I have 6 arrays.
    X-Axis, Y-Axis, PressRef, TempRef, PV, and VecorPress.
    I have created a spreadsheet for them using txt
    When I use colum 1 (X-Axis) Vs. column 2 (y-axis) to plot in an XY graph in excel, I want to delete all ELEMENTS that have the value ZERO on my X-axis.
    Meaning that all the elements of X-axis that are 0's.
    For example..
    I have X,Y,Z
    130     15   16
    130     15   17
    0         16   17
    131     16   17
    When I have it in my text. I only want to see this
    130     15   16
    130     15   17
    131     16   17
    I have a diagram picture of what i currently have and then i have a txt file that i currntly have. can someone help me?
    thank you
    Best regards,
    Krispiekream
    Attachments:
    Image2.jpg ‏76 KB
    New Text Document.txt ‏158 KB

    The OpenG functions can be found from the OpenG site. They save you the trouble of having the code some stuff up yourself.
    The "code it yourself approach" using a temporary 2D array looks like this:
    Note: As I said, there will be some memory thrashing as LabVIEW allocates memory for the growing 2D array. The alternate method I described would use "Initialize Array" to create a 2D array and then use Replace Subset to "insert" the rows into the 2D array. I will leave it as a learning exercise for you to code that up.
    Message Edited by smercurio_fc on 11-05-2007 05:15 PM
    Attachments:
    Example_BD.png ‏14 KB

  • Wat is the task container element

    hi ,
    im using a task and  sending a work item .
    if i want to find the person to whom the workitem is triggerd,
    which task container elment  hold this value..
    olease suggest me ..
    Raghu

    I think you can use Function Module
    SAP_WAPI_WORKITEM_RECIPIENTS
    to retrieve the agents that has been assigned provided you have the workitem Id. In the Task container it will not be reflected unless you have designed like that.
    Yes if the step is executed then the WI_ACTUAL_AGENT container element of the relevant task container will store the agent who executed it.
    Thanks
    Arghadip

  • How to change the element of container in the task

    Hello,all.
      I am new for workflow,today i find a new problem:when i finish a activity in the template,the element of container in the task can not be changed. Why? And how to change?
      Thanx,

    Hi Nemo,
    What I understood from your query is as follows -
    You have worked with Task activity in a workflow template. Now you want to change the element in Task Container, which you are not allowed to do so.
    If above is your query, kindly find following solution -
    1. You must have used some BOR object in your task activity.
    1. If you have used automatic binding between the method of BOR and workflow task then automatically the container elements are created. Now if you want to change these container elements then recommended is to change them first in method of BOR and again link the method. Let these elements generate automatically as part of binding.
    2. If you don't have any binding between your BOR method and Task container then, you don't have any elements created automatically. So you can directly create new elements inside task.
    Hope this helps you.
    PS If the answer solved your query, plz close the thread by marking it solved and rewarding each reply.
    Regards

  • How to change the properties of individulal elements in an array?

    Hi all,
    I have an array (size is 25) of string and I want to disable and grayout half of them. But how do I do it? How do I change the properties of individual elements in an array? I have tried to use some of the examples given in the discussion forums, but it didint work for the task mentioned above. Anybody would be able to help me with a suitable example that can be specifically used for disable or enable the individual array  elements?
    Dev

    Telemaque wrote:
    The user will see the first half of the string elements filled-in and the lower half grayed-out (to be filled in later).  Make a test VI, play around.
    ... except that all elements "greyed out" with this method contain the default string for the array element (blank by default, but changeable). There is no way to have meaningful, unique text in the greyed out elements.
    I would suggest to use a listbox as control/indicator. Here elements can easily be disabled programmatically.
    LabVIEW Champion . Do more with less code and in less time .

  • Add task container element

    I have a deceison step and in the container task I add a variable , and add this variable  to the description of the task , i triger the WF and it is working OK ,
    put when i try to do the same thing with new variable ( add another variable to the task container ) 
    and add it to description it dosnt appear .
    I do a new bindig to the step task
    any help please
    thanks and regardes

    Hi,
    U have created one new elemnet in task conatiner n it is not cming in task desc.
    For this, first check that d element which u created have right import,export properties.
    u have already created one element.....i.e. u know d procedure.
    then delete dis 2nd element n create it again....sometimes it helps
    hope it helps u!
    Regards,
    Mamta

  • Get container element of task container

    Hi,
    in my method of a Business Object I need to get the value of the element WorkitemID of my task container.
    I tried the following to read the value of the element:
    swc_get_element container 'WorkitemID' lv_wiid.
    But I don't get the workitemID of the task.
    What am I doing wrong here?
    Thanks for your help.
    Regards,
    Martin

    Hi Martin,
    Are you making a call to the BO method from the task you are using?
    If yes, then in the binding between the task container and the method container, pass the workitem element you need to pass to the method.
    In the BO method, add an input parameter 'WorkitemID' of the same type as the workitem element.
    Now create a data element in the method code of name 'lv_wiid' of the same type as WorkitemID.
    Then use the code:
    swc_get_element container 'WorkitemID' lv_wiid
    to fetch the value of the element in the code.
    Hope this helps!
    Regards,
    Saumya

  • Query regarding task container elements

    Hi,
    im very new to workflows,
    in task container ther r some default elements like WIgroup_ID,_workitem
    WIOBJECT_ID etc..........
    can any one tell the use of them,wher do we use them genrally

    This r my Mail IDs
    [email protected]
    [email protected]
    [email protected]

  • [Application Update Error] - The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text.

    Hello,
    I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error:
    The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text. List
    of possible elements expected: any element in namespace '##any'.
    If I redeploy the application (without update, just a new instance) everything works fine. Only the update scenario throws the exception above. 
    I tried different things to solve that issue:
    I recreated the feature
    I checked all the custom field definitions, content types and lists inside the app. 
    I tried different O365 tenants and a SharePoint 2013 On Premise Development Server (Same problem on all systems)
    Can anybody give me a tip to solve that problem?
    Thanks in advance

    Hi,
    According to your description, when you try to update your SharePoint Hosted App, an error occurs.
    To narrow down the issue, I would suggest you create a simple app without other components in it, deploy it and then update it to see if this error will still occur.
    Once you get a workable app without the update issue, then you can add other customizations one after one in this app and perform the update. By doing this, it would
    be easier to find out the root cause.
    Anyway, you can take a look at the link below about updating app for more information:
    http://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx
    Feel free to reply if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Adding two characters to all the element of workflow container

    Hi All,
    I want to prefix two character to all the elements of a particular "multiline" workflow container.
    How can i do this?
    Please help me in this regard.
    Thanks,
    Ritesh

    you will have to use a custom method as step and pass the multiline attribute and loop at it, add and modify the multiline variable of the container. No other way possible, within workflow builder.
    regards,
    Sandeep Josyula
    *Mark if helpful

  • Where is Properties panel of the Elements Organizer 11 ??

    Adobe help indicates using the Properties panel of Elements organizer to view and change metadata ??
    I can find info using File Info in Elements Editor but it will only update ONE image at a time !!
    Looks like PSE11 is a giant step backwards!!

    Thanks - no help because the template is predefined and only has a limited number of fields.
    Try using File Info in the Elements Editor and you will see an entirely different set of template options including the ability to create and save templates.
    On this page toward the bottom you find info about metadata templates
    http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 ff1.html#WS287f927bd30d4b1f89cffc612e28adab65-7fef
    Save or delete metadata templates
    If you have metadata that you repeatedly enter, you can save the metadata entries in metadata templates. The templates can be used for entering information, and they save you the effort of retyping metadata in the File Info dialog box. In the Photo Browser, you can search for metadata to locate files and photos.
    Thanks
    HJ

  • Variable not found when package executes.".The element cannot be found in a collection."

    This is a very simple tutorial demonstrating script task. 2 variables
    intvar int32 5
    strvar string 0
    And a script task with this code
    If Dts.Variables("intVar").Value > 10 Then
                Dts.Variables("strVar").Value = "Big"
            Else
                Dts.Variables("strVar").Value = "Small"
            End If
            MsgBox(Dts.Variables("strVar").Value)
    below is the error msg
    SSIS package "Package.dtsx" starting.
    Error: 0x1 at Script Task: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The element cannot be found in a collection. This error happens when
    you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
     ---> System.Runtime.InteropServices.COMException (0xC0010009): The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not
    there.
       at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100.get_Item(Object Index)
       at Microsoft.SqlServer.Dts.Runtime.Variables.get_Item(Object index)
       --- End of inner exception stack trace ---
       at Microsoft.SqlServer.Dts.Runtime.Variables.get_Item(Object index)
       at ST_ce37649a37c146518fa69eff106c6625.vbproj.ScriptMain.Main()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
    Task failed: Script Task
    Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "Package.dtsx" finished: Failure.
    The program '[2824] Package.dtsx: DTS' has exited with code 0 (0x0).

    Must be a typo in variable name (not matching declaration)
    Arthur My Blog
    there is one more reason for the problem - 
    I had the code
    DataColumn dc = null;
    dc = myDataTable.Columns["PERSON_NAME"];
    The column to be fetched was NAME and not PERSON_NAME...someone changed it in the db :(

  • Speed up time of AI Create Channel.vi task containing thousands of channels

    I am creating an AI task containing a total of 8000 channels of different channels with each channel being acquired many times before the next channel is acquired.  The channel list is something like 0,0,0,...,1,1,1,...,2,2,2...3,3,3... where each channel number would be acquired 2000 times.  The purpose is to perform averaging.  I am seeing that DAQmx Create Channel.vi takes about 100 msec to create 1000 channels for a total of 800 msec to create all channels (DAQmx 9.4, LV 11, WIN 7, CoreDuo P8700 2.5 GHz).  I would like to speed this up by a factor of 10 if possible.  Test vi attached.
    Attachments:
    Create Multiple Channels duration.vi ‏17 KB

    Hi SteveP,
    The DAQmx task contains data structures representing channels, which in turn contain other data structures representing channel properties and such. Most of the execution time of DAQmx Create Channel is spent allocating and initializing these data structures. They are separate from the task's input buffer (where data is stored until DAQmx Read is called). The input buffer is allocated when you reserve the task (which is normally done by DAQmx Start Task), and it is indeed allocated as a single large array.
    DAQmx support for repeated channels focused on the SCXI use case, where hundreds of milliseconds of channel creation time seemed to be an acceptable tradeoff for measuring thousands of thermocouples. During development of NI-DAQmx 7.0, we used 3072 channels as our large system benchmark for channel creation, since that's the maximum number of channels supported by an SCXI task: 8 chassis x 12 modules x 32 channels (ignoring CJC channels). Repeated channels also make your use case possible, but this wasn't the original goal, otherwise we would have tried to make it easier to use for this purpose.
    When replying to your previous thread on this topic (DAQmx AI Task with many samples CH0, then many CH2, then many CH3), I assumed that you were doing this because you were having problems when you took the straightforward approach to averaging, but Ben is right to point out that there are ways to deal with ghosting, cross talk, etc. What is the source impedance of the signals that you are measuring? How Do I Eliminate Ghosting From My Measurements? lists some options for dealing with high source impedance.
    Failing that, is it possible for you to reduce the frequency at which your program creates and destroys tasks? If you can extend the task lifetime by reusing the same task more than once, you can avoid the channel creation overhead, or at least amortize it over the lifetime of the task. Note that you don't have to clear one task before you create a second one; you only have to make sure that two tasks don't have the same hardware reserved at the same time--if you do, you will get a reservation error. In most cases, stopping the first task before starting the second is sufficient to avoid this. It is possible to create multiple tasks up front, then switch between them throughout the rest of your program.
    Brad
    Brad Keryan
    NI R&D

  • What is the exact use of Sequence container

    Hi all,
       I am intermediate in SSIS package,i am not understanding what is the exact use of Sequence container ?
      I am preparing for interview(3 years exp), if experts dont mind can you pls share some tips and questions to clear the interview ?
     pls
    thanks

    Hi SelvakumarSubramaniam,
    This blog delivers a good summary of the benefits we can get by using Sequence Container:
    Easier debugging by allowing you to disable groups of tasks to focus package debugging on one subset of the package control flow.
    Managing multiple tasks in one location by setting properties on a Sequence Container instead of setting properties on the individual tasks.
    Provides scope for variables that a group of related tasks and containers use.
    Create a transaction around all the components inside the container.
    Here are some other good resources:
    http://www.phpring.com/sequence-container-in-ssis/ 
    http://sql-developers.blogspot.com/2010/06/sequence-container-in-ssis.html 
    Regards,
    Mike Yin
    TechNet Community Support

  • Reading Task Container in ABAP Webdynpro

    Hi All,
    I have to read the task container in ABAP Webdynpro to show the details on a ABAP interactive form which is embedded in WDA. For this I have approached in the following way.
    1) Task is configured in SWFVISU with DYNPARM = WI_ID=${item.externalId}
    2) Workitem is obtained in UWL and ABAPWebDynpro is launched when Task is executed from UWL
    3) START is the "startup" plug that triggers the HANDLESTART method
         This method has WDEVENT as a standar parameter. Then the following code is for reading the URL parameters.
         wdevent->get_data(
        EXPORTING
          name =  if_wd_application=>all_url_parameters
        IMPORTING
          value = l_url_parameters  ).
      READ TABLE l_url_parameters WITH KEY name = 'WI_ID' INTO l_url_parameter.
    4)  Set the WI_ID to a componentcontroller attribute
    5) This attirbute is now binded to the WDDOMODIFYVIEW method of the View
    6) Finally set the form elements attributes of the VIEW by reading the container based on the WI_ID
    Problems:
    1) I am not getting the form populated
    2) The form is getting populated if I hardcode the WI_ID and execute the application directly from backend.
    Please tell me where I might have gone wrong.
    Thanks
    Deb

    solved by self

Maybe you are looking for

  • How can I tell if I have an iphone 3G?

    Ok yeah I just had an intresting question in my head. I bought an iPhone 3G phone from my AT&T store but it had problems so Apple sent me another iPhone. My only concern is if it is actually an apple iPhone 3G. How can I tell and make sure that they

  • Is it possible to change the baseentry/baseline/basetype in document lines?

    Hi, I have created a PO and a SO with same item in document lines separately. I want to set the BaseEntry, BaseLine and BaseType of PO lines to points to a item line in SO. My code is like below:                 po.Lines.SetCurrentLine(0);           

  • Certificates CNAME or Host (A) Record?

    We just installed Exch 2013 but have not put it into production yet. We are confused about what domains to include in our certificate request. Our ISP host our email and Network Solutions host our domain and we would like to keep it that way. We have

  • IntelMac (newest Tiger) not connecting after installing WinXP and switching

    Hi Everyone. I tried searching the discussions for this, but I couldn't find a suitable answer (or anyone else having this problem). Here's the issue (and my temporary solution, but really really annoying): I recently installed winXP on my intelMac c

  • Need a structure format as shown

    Hi All, I have a requirement of bringing up the below layout. Kindly help me how i can design like this in query designer.      A               B                X     Y     Z     X     Y     Z Com1     10     10     10     10     10     10 Thanks in