How is an object created in a workflow ?

Hello,
When i create a task and assign an organizational business object to it along with a method. When the workflow is activated then it will call this method, but who will create the object and who will fill up the initial attributes of the object. As an example:
if my organizational business object is called CAR, and it has an attribute caller COLOR, and a methif called get_Color. Then when i start my workflow, it will call the method get_color, but will it first create the CAR object ?
-Can someone point out how the workflow works ?
-Onemore question, do you know a good resource on how to create Organizational business objects
thanks
points are rewarded.
Hassan

It is not clear my your message if you want to create a new instance of an object (i.e. a new car) or if you want to create an instance of an existing car.
If you want to create a new car, you need to see if there is a method CREATE for this object and if a task already exists for this method.  If no tasks exists, then you need to create one.
My guess is that you want to create an instance of an existing car (i.e. you want car number 1234 and exectue method get_color).  You will use object SYSTEM, method GENERICINSTANTIATE to accomplish this.  The easiest way to do this is by using workflow wizards.  Under the workflow wizards "others" folder, select wizard "Include 'Create Object reference'".  It will create a background task that will create an object instance.  All you need to do is bind the object key to the task and you are all set.
Mike

Similar Messages

  • "a"+"b"+"c", how many String objects created?

    Hello everyone,
    String s = "a" + "b" +"c";
    How many String objects are created?
    I guess 5, is it right?
    regards

    > How many String objects are created?
    >
    I guess 5, is it right?
    Nope. Just one.

  • How to identify objects created by registering xml schema

    Hi Everyone,
    We are using Oracle 9i Rel2. I have registered an XML schema and I saw that there were several objects created for it table ,some types and a trigger . For some build purposes I want to exclude all of these objects which are associated with xml schema and should be able to drop and recreate the whole of oracle schema.
    I see the user_types table does not have any parameter to indicate that these are autogenerated or are different. In user_types they look like any other type that a user would have created. Do any of you know how to differentiate these types created by registering XML schemas from the normal types.
    Thanks for your help

    There is no way I know of to differentiate between a type created by Schema Registration and another Type. You can query the XML Schema itslef to get the Typenames it relies on.
    SQL> --
    SQL> SQL> select nvl(extractvalue
    2 (
    3 value(ct),
    4 '/xs:complexType/@name',
    5 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    6 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    7 ),'Local Complex Type') COMPLEX_TYPE,
    8 extractvalue
    9 (
    10 value(ct),
    11 '/xs:complexType/@xdb:SQLType',
    12 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    13 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    14 ) SQL_TYPE
    15 from user_xml_schemas,
    16 table
    17 (
    18 xmlsequence
    19 (
    20 extract
    21 (
    22 schema,
    23 '//xs:complexType',
    24 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    25 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    26 )
    27 )
    28 ) ct
    29 /
    COMPLEX_TYPE
    SQL_TYPE
    PurchaseOrderType
    PURCHASEORDER_T
    LineItemsType
    LINEITEMS_T
    LineItemType
    LINEITEM_T
    COMPLEX_TYPE
    SQL_TYPE
    PartType
    PART_T
    ActionsType
    ACTIONS_T
    Local Complex Type
    ACTION_T
    COMPLEX_TYPE
    SQL_TYPE
    RejectionType
    REJECTION_T
    ShippingInstructionsType
    SHIPPING_INSTRUCTIONS_T
    Local Complex Type
    ROOT_T
    COMPLEX_TYPE
    SQL_TYPE
    Local Complex Type
    P222_T
    10 rows selected.
    SQL>

  • How to delete objects created in Integration repository(IR)

    Hi,
    I have created software componant in SLD and then imported that into IR.
    Now i want to delete all objects from SLD as well as IR.
    I have deleted theobjects from SLD but i am unable to delete the software componant objects from IR.
    Can anyone please let me know how we can delete objects from ID?
    Thanks,
    Chintan Soni.

    Hi,
    If you have imported from the SLD into IR you will see the Software Component and one level down you see one or more Software Component Versions.
    You can delete the Software Component Versions (one by one) and when you delete the last SWCV the Software Component will also be deleted.
    kr
    Robert

  • JS how to access objects created by plugins?

    say if a textframe was created by a third party InDesign plugin.
    How should one access and modify this "textframe" property using JS?
    Thanks in advance.

    You can only access a third-party plug-in's "text frame" if they programmed scripting support into the plugin. You would have to contact the third party to know whether they included scripting support in their plugin.

  • How to delete objects created with new

    Hello,
    I am having a problem creating a behavior or script to delete new sprites created in channels. I have a behavior script that creates new sprites using the following (simplified) script:
    First, a Beginsprite creates a gChannel_list and assigns a beginning gChannel value. pSprite is used to establish the sprite that in the mousedown is clickon.
    on Beginsprite me 
      gChannel_List =[]
      gChannel = 70
      pSprite = sprite(Spritenum)
    end
    In the mousedown the gChannel is incremented and the newly created channel is added to the gChannel_list.
    on Mousedown me
      gChannel = gChannel + 1
      theChannel = addat(gChannel_List,gChannel)
      themember = pSprite.member
      channel(gChannel).makeScriptedSprite(themember, point(80,160))
      sprite(gChannel).width = thememberW
      sprite(gChannel).height = thememberH
      sprite(gChannel).rotation = theMemberR
      sprite(gChannel).moveablesprite = 1
      sprite(gChannel).ink = 36
    etc
    After creation of several sprites based on the the gChannel, the following globals, for example, are returned.
    -- Global Variables --
    gChannel_List = [71,72,73,74]
    gChannel = 74
    My problem is that I am unable to delete these created gchannel sprites with a lingo command. Deleting them from the list, for example, using deletat(gChannel,1), does nothing to remove them from the stage (they do disappear from the list). And while I can display their attributes such as width [n=getat(gChannel_list, x); put sprite(n).width], nothing seems to relate to deleting these gchannel sprites.
    How is it done?
    Hope this is enough information. If not, please let me know. I can provide whatever you might need. Please help.
    Rod

    Sean,
    DUH! Didn't even know that a 'removeScriptedSprite()' command existed! Very logical. It works perfectly. Thanks again so very much.
    Rod

  • How to layer object created with as3

    I have cartoonish looking sun rays that rotate in the
    background. They are created and animated(rotated) with as3. My
    problem is that I now want to place a layer in front of this
    animation. Is it possible to assign the object to a layer so i can
    place other layers on top of it. The script is rather long, but i
    believe this is the pertinent part of it:
    ==============================
    SunGlow.addChild(sun);
    addChild(SunGlow);
    SunGlow.x=stage.stageWidth/2;
    SunGlow.y=stage.stageHeight/2;
    ========================================

    Then you could create an empty movie clip container, on
    stage, in the layer
    you want and then addChild on it...
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How to delete objects created in IR and ID

    Hello ,
    What is the right way to delete the SWCV from IR and Configuration scenario from ID .
    I am using PI 7.11  version. Also, want to know that ,if i want to take backup , then how to  do that.
    Thanks in advance.
    Ravi

    Hello,
    What is the right way to delete the SWCV from IR and Configuration scenario from ID .
    You start from the top to the bottom, by this I mean you delete objects in this order
    ESR:
    Operation Mappings -> Message Mappings -> Imported Archives -> Service Interfaces -> Message Types -> Data Types -> Context Objects  -> External Definitions
    ID:
    Receiver Agreement -> Sender Agreement -> Interface Determination -> Receiver Determination -> Communication Channels -> Business Component/Business System -> Party
    I am using PI 7.11 version. Also, want to know that ,if i want to take backup , then how to do that.
    Transport your SLD, All ESR objects under that SCV, All ID objects under that SCV as a file and then save in your local directory. That way, even if you deleted the objects you can still reimport them when the need comes.
    Hope this helps,
    Mark

  • Create dynamic sharepoint workflow.

    Hi, 
    How to change or create a sharepoint workflow by end users. How to write the code for sharepoint dynamic workflow. How to use window workflow foundation in sharepoint.
    Regards,
    Krishna

    Administrator will create workflow flow in runtime using Silverlight Application. 
    Silverlight Application with GOXAM tools is used to create the workflow dynamically, based on the flow the sharepoint workflow should be created. 
    http://www.nwoods.com/components/silverlight-wpf/goxam-overview.htm
    Workflow 1
    Customer-> Manager-> Team Leader->Developer->Team Leader-> Manager->Customer. 
    Administrator removed the developer from the silverlight application, that flow should be updated in the
    sharepoint. 
    Customer-> Manager-> Team Leader-> Manager->Customer 
    Regards,
    Krishna

  • How to Create material master workflow

    Hi All,
    Can anybody tell me how to create material master workflow?
    i need to customize the workitem  for creating data in different views in MM01 transaction with restriction to particular user.
    Regards,
    Priti

    Hi,
    This link is to  display a material.My requirement is to create a workflow which will allow a responsible person to enter data for specific department data e.g Purchase,Accounting etc.Initially anyone can create data using basic data1 and basic data2 views.After this my workflow will be triggered and it will go to next person who is responsible to enter Purchase data and then Accounting data.
    Plz help me to create different views with respect to person.
    Thanks in advance.

  • Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Maybe it's set as a login item:
    - System Preferences: Users and Groups:
    - Highlight your user account in the left pane/list
    - Click "Login" tab at the top.
    See if you have an Automater action on the list
    - Note, you can select it, then right-click, and can then select "Reveal in Finder". That way you might have an idea what installed it.

  • How to find Number of objects created in SAP during 1 year..

    Dear Experts,
    We wanted to know how much customized object has been created in our system in a specified period of time say last 1 year.. Can you please suggest the way to find this.. The objects includes Program. Function Module, Tables, Structures, Smartforms etc...
    Is there a way to check the complexity of these objects..
    Regards,
    Vidya..

    >
    Alpesh wrote:
    > u can check this objects in se03 transaction
    >
    > under transport organization tools --> object --> Object in customer namespace
    >
    > you will get list of all packages and enter whatever you want (say TABL for table  in object type field)
    >
    > Regards,
    > Alpesh
    Read  the thread properly before giving reply.
    There you have no where creation date mentioned, how you
    will identify objects created in SAP during 1 year ?

  • How to create validation in workflow

    I create a simple workflow application, but how to do validation in this application? thanks in advance

    HI SharpLj,
    Activity validation enables activity authors and users to identify and report errors in an activity’s configuration prior to its execution. Windows Workflow Foundation (WF) provides the following three types of activity validation:
    RequiredArgument and OverloadGroup attributes.
    Imperative code-based validation.
    Declarative constraints.
    Further information:
    Configuring Activity Validation
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create demand management workflow using visual studio

    Hello all,
    I need to create demand management workflow (Project server 2013) using visual studio 2012. I need to understand how we can write code in it. Any references??

    Hi Shanila,
    Here are some of the articles you can use for designing workflows using Visual Studio.
    Getting started Project Server 2013 Workflows :
    http://msdn.microsoft.com/en-us/library/office/ee767694(v=office.15).aspx
    Using workflow for Demand Management:
    http://technet.microsoft.com/en-us/library/dn458861(v=office.15).aspx
    Creating Project Workflows using Visual studio 2012:
    http://blogs.msdn.com/b/project_programmability/archive/2012/11/07/creating-project-workflows-using-visual-studio-2012.aspx
    Thanks,
    Phani

  • How to find the objects created in last one year

    Hi Experts,
    How to find the objects created in last one year.
    Thanks in Advance,
    Iff

    hi
    just go through this table.
    <b>TADIR</b>  object as 'PROG'
    in this you can also provide the authors name in AUTHOR field
    and
    <b>TRDIRT</b>
    reward points if it helps,
    regards,

Maybe you are looking for

  • How to connect my Mac to my analog phone?

    I know this sounds like a weird question, but I need to connect my Mac laptop running 10.5.2 to my Polycom phone. I know there are many options like Skype, etc... but I need to use my own softphone which goes to a company dialer. For example I use oh

  • How do i get music from my iPhone to my new macbook pro?

    my old laptop is broken and i got a new macbook pro. but now i can't put the songs from my iphone onto my macbook. how do i get my music onto iTunes

  • Function SAVE_TEXT

    Hello! I am using this function in order to save text in sales order. When i pass the table lines to the function it has for example 4 lines. After saving i can see that the 4 lines where concatenated to each other. I want to create a situation where

  • Regarding component's x position

    hi i dont whether this is the correct forum to ask my doubt.im entirely new to form development. so plz help me with this doubt. i placed a text item in a form.i specified some x position to that text item.then is specified its prompt.so it displayed

  • 3G with 3.2.1 OS reloads deleted emails

    upgraded to 3.1.2 on 3G. Now, after deleting email (read or unread) , they reload into my accounts - (running 3 differant email accounts - 2 POP3 -1 IMAP) all from different providers/servers. ANYONE ELSE having this issue and solved it??