Attributes in Workflow

Hello everyone,
I would appreciate if someone can answer my question.
In my custom workflow, the user get a notification but i see that the "FROM" Label and the "DETAILS" Labels are empty. How to add appropriate values into those fields.
Thanks!!
Jim

Hi,
Either define a default value for the attribute, or call the appropriate API (WF_ENGINE.SetItemAttr???), or populate an event parameter (if you are starting the process via a business event).
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Similar Messages

  • ABAP OO attributes in workflows

    Hi,
    Concepts of Using ABAP OO attributes in workflows and tasks
    Thanks,
    Diwakar.

    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    DIRLL DOWN AND INTERACTIVE REPORT
    http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm
    PAGE BREAK FOR ALV LIST
    check out this link
    http://www.abap4.it/download/ALV.pdf
    good book on ABAP objects(OOPS)
    http://www.esnips.com/doc/bc475662-82d6-4412-9083-28a7e7f1ce09/Abap-Objects---An-Introduction-To-Programming-Sap-Applications
    How to check Cluster Table Data
    https://forums.sdn.sap.com/click.jspa?searchID=5215473&messageID=3520315
    http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Reward Points if useful

  • Virtual attribute in workflow template

    Hi all,
    I have crated a single line virtual attribute in BOR. When I test this virtual attribute at BOR level, its getting filled.
    I am using this virtual element to pass from workflow container to task container. But I don't see it filled in workflow container.
    Do i need to do anything explicitly to get the vauie of virtual attribute in workflow template?
    Kr,
    Vithalprasad

    Hi,
    But I don't see it filled in workflow container.
    Check the binding, Re-generate and test it again.
    Regards,
    Surjith

  • Multiline attribute vs. table type based attribute in workflow container

    Hi,
    When we are talking about definition of workflow container attribute, you have to choose a type of attribute from a dictionary and have to decide if it is multiline attribute or single line (flat). If we want to define a multiline string-based attribute, we can do it in the following ways:
    — define an attribute type of string and set checkbox on multiline;
    — define an attribute table type of string and do not set checkbox on multiline.
    My question is:
    Is there any difference between these two approaches, described above (flat type + multiline vs. table type + single line)?
    Thanks.

    I don't think that there is any difference. If you set a table type as container element data type, the multiline checbox is checked automatically (and you cannot change that). So eventually the table type container element is the same as a structure type container element with multiline checkbox checked.
    EDIT: Or does it behave differently for you?
    Regards,
    Karri

  • Need to pass user_id and password in URL item attribute of workflow

    Hi Gurus,
    I am facing an issue in creating an URL in workflow builder.
    Basically i have created an URL Item type attribute with value
    ../../OA_HTML/jtfTaskMain.jsp?jttst0=2414_23135%2C23135%2C-1%2C0%2C&jttmexjtfm0=_0_0_1_0_f_nv_&jttmexetfm1=_0_-1_&jfn=ZG700F3B7360316A8A7557B082337FBD0423D2AA232DEA5407CEA2D4D6508E6A04693B0E4B1E1EA9069F1DFFC5EA0DB3ABED&jtfm0=_0_0_1_1_f_nv_&etfm1=_1_-1_&oas=6B1ntRszm8xl-UOPcBYwww..&task_id=10505&PID=&PNAME=&PTYPE=
    in workflow and above highlighted values are the dynamic paramers to open the standard JSP page. The above link works because it is user specific. Please let me know how to pass these dynamic parametsr like user_id, password, OAS,task_id to the URL?
    Thanks in advance,
    Veerendra
    Message was edited by:
    user621894

    Hi,
    You'll need to determine the values and populate the URL in a PL/SQL activity earlier in the process.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • "List" type for attribute in Workflow

    Hi, I need to set the value of an attribute in List type whose length is determined in the run-time, but it's not a built-in type in workflow. Any solution on this?
    (Oracle 9i/workflow 2.6)
    Thanks
    Fiona

    I don't think that there is any difference. If you set a table type as container element data type, the multiline checbox is checked automatically (and you cannot change that). So eventually the table type container element is the same as a structure type container element with multiline checkbox checked.
    EDIT: Or does it behave differently for you?
    Regards,
    Karri

  • Issue Setting Resource Attributes via Workflow Process

    I'm currently trying to set resource attributes via a workflow process, but for whatever reason the attribute is not detected as "changed" and the update object has nothing about the attribute. I'm wondering if I'm just doing something wrong with the way I'm setting it, or if I'm missing a piece to apply the upate.
    What I'm doing is...
    1. Checking out the user view
    2. updating the attribute via code something like this...
    <set name='user.accounts[ldap].attributeIWantToChange'>
    Logic in here
    </set>
    3. then I'm checking the view back in.
    Anyone know why this isn't working(I can set other attributes like waveset.roles fine this way)?
    Edited by: UNO-AD-HM on Jul 6, 2009 12:54 PM

    Figured it out, have to load a different form in when I check the view out, the tabbed user's form will not update resource attributes.

  • Trouble Getting Attributes into Workflow

    I'm fairly new to Workflow and witting my first function. I'm having a bit of trouble getting attributes from a form to Workflow. I have define the attributes in PAAPINVW.wft through the workflow builder. In a function I used the API wf_engine.GetItemAttrText and wf_engine.GetItemAttrNumber to retrieve them. The problem is the attributes are coming in as Null values and I can see the values in the Form. What step(s) did I miss in retrieving the Form attributes? Thanks in advance for your help.
    My retrieval code from the function I wrote is:
    begin
    -- Do nothing in cancel or timeout mode
    if (funcmode <> wf_engine.eng_run) then
    resultout := wf_engine.eng_null;
    return;
    end if;
    -- Retrieve attributes
    x_inv_currency_code := wf_engine.GetItemAttrText ( itemtype => itemtype,
              itemkey => itemkey,
              aname => 'OLD_INVOICE_CURRENCY_CODE');
    x_progress:='Old Invoice Currency Code:'||''||x_inv_currency_code||'Value';
    dbms_output.put_line (x_progress);
    x_match_action := wf_engine.GetItemAttrText ( itemtype => itemtype,
              itemkey => itemkey,
              aname => 'MATCH_ACTION');
    x_progress:='Match Action:'||''||x_match_action||'Value';
    dbms_output.put_line (x_progress);
    x_match_mode := wf_engine.GetItemAttrText ( itemtype => itemtype,
              itemkey => itemkey,
              aname => 'MATCH_MODE');
    x_progress:='Match Mode:'||''||x_match_Mode||'Value';
    dbms_output.put_line (x_progress);
    x_selection_checkbox := wf_engine.GetItemAttrText ( itemtype => itemtype,
              itemkey => itemkey,
              aname => 'SELECTION_CHECKBOX');
    x_progress:='-->> IS_FOREIGN_CURRENCY_MATCHED_PO: Selection Checkbox:'||''||x_selection_checkbox||'Value';
    dbms_output.put_line (x_progress);
    Thanks,
    vadams

    Hi,
    You need to write something to populate the values - just creating the attributes to store them isn't enough.
    You can either customize the form to include the attributes in the mechanism that initiates the workflow, or you can include an additional activity in your code to pick the values up from a table and store them in the workflow.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Respond attributes in Workflow notification

    Hi
    I added 4 respond attributes in my notification message. Now these parameters come automatically in the notification as input fields.
    My question is that can we control the size of the input boxes that appear in the notification for these respond fields?
    Thanks
    Navneet

    I already tried that but the text field that appears on notification is still the same size.
    I actually want to reduce the size of the text box that appears in the notification.
    Regards
    Navneet

  • Agent assignment & Attribute for workflow template level.

    Hi Friends;
    As per my understanding we maintain Agent assignment at WF template level to provide security to WF task level so that the possible agents maintained there are only authorized for that task,
    and if we maintain it as general task then every one is able to execute it.
    But my concern is wht will happen if we wont do agent assignment at WF level and also not make it general task.
    Regards
    Dev
    Edited by: Dev on Jan 15, 2010 10:47 AM
    Edited by: Dev on Jan 15, 2010 10:51 AM

    Hi Dev,
    If you do not maintain the agent assignment at WF task level ( for the task which are not general task ), those users will not receive any work item.
    For example user XXX is determined by some rule but he will not receive  the work item until user XXX maintained at WF task level.
    Thanks
    Sanjay

  • How to use different stylesheets for ChangeAttributeRequest workflow in OAM

    Hi,
    We have a requirement to invoke different change attribute request workflows (change password ,change email etc..) from external JSPs..
    I want to apply different stylesheets for each workflow. In the workflow URL if i enter style=stylesheet-name its not using that stylesheet. Always its using the same base stylesheet (wf_changeattr.xsl). How can i use different stylesheets? Any pointers on this is appreciated.
    Thanks inadvance..
    Regards,
    Srikanth

    Hi Colin,
    Thanks for your response. Now i am able to invoke different xsls for different workflows.
    I did a mistake by entering style=stylesheet-name. I verified the same with xsl=stylesheet-name.
    Its working fine now..
    Thanks & Regards,
    Srikanth

  • Error with hyperlink to open a form in Workflow Notification

    Hi All,
      I am trying to create a hyperlink to open a form in Workflow Notification. I want to open "Prepare Mass Additions" form from my workflow. I am in R12 (12.1.3) and there is no parameters defined for this function.
      So i am trying the method given here:
      http://oracleappsnotes.wordpress.com/2011/04/15/accessing-oracle-forms-from-workflow/
      Below is a summary of steps from this blog:
    Register a new custom form function with a parameter CREATE_BATCH_ID.  Function name is XXFAXMADDS. Its just the seeded FAXMADDS form function, just with the addition of parameter.
    Create an attribute of type ‘Form’ which stores the name of the form function and the parameter with which we want to call it. The default value of the attribute is XXFAXMADDS:CREATE_BATCH_ID=&BATCH_ID
    In a workflow process include a notification message.
    Associate the attribute with the notification message
    Personalize the new form function, to add actions to assign the value of parameter to the form field, then goto the Find Button, and click it.
        When i click on the link in notification, I am getting the below errors:
        FRM-47023: No Such parameter named G_QUERY_FIND exists inform FAXMADDS
        FRM-40105: Unable to resolve reference to item PARAMETER:G_QUERY_FIND
        FRM-47023: No such parameter named CREATE_BATCH_ID exists in form FAXMADDS.
        Why is this error? Why it is referring to G_QUERY_FIND which i have not at all used?
    Thanks
    Manu
    Message was edited by: manu.mur

    Hi Hussein,
    Clearing cache or bouncing application did not help. And now i am noticing that the value of this attribute does not change according to the changes i make in workflow builder.
    Also, i tried by updating the workflow attribute from Workflow Admin, retried the notification and tried the link again. No help.
    I tried updating attribute to just the standard form function name, still same errors!

  • N-Step workflow for invoice

    1. Is there a way to implement n-step (more than 2 )approvals for invoices? Can I use the same BADI for n-step approval for shoupping cart?
    2. If a vendor is not on supplier portal is there a way send a offline RFQ and get the bid somehow in the system without having vendor being created in the system?

    Hi
    <b>Please go through this -></b>
    <u>It is possible to copy the standard workflow and make you custom workflow acordingly.You just have to copy standards workflow and all subworkflow under this as well.You have to take care of attributes of workflow in same way as standard workflow.</u>
    <u>Implementing a BADI - BBP_WFL_APPROV_BADI using SE18 Transaction is also feasible solution.</u>
    Invoice rejected in the invoice workflow.
    Re: Invoice Workflow : Dialog work item created
    Re: Sample Code needed for N-step approval SC BADI
    Re: Invoice BUS2205 Workflow
    Approval workflow is ambiguious- for Invoice WF
    <b>Please refer to these links as well.</b>
    <u>N-step Approval workflow</u>
    http://help.sap.com/saphelp_srm40/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
    <u>N-step Dynamic approval</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/frameset.htm
    <u>SRM Business Workflow</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    <u>Dynamic Modification - Workflow</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/84/dda441e79ead5fe10000000a1550b0/frameset.htm
    <u>Item-based Approval for Shopping carts</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/a3/a6a34098022a54e10000000a1550b0/frameset.htm
    <u>Business Add-Ins</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/bc/6129383d5ec70ce10000009b38f8cf/frameset.htm
    Do let me know incase you face any issues in Design / coding of this N-level Approval workflow.
    <u>For the 2 point, it is not sure. I don't think there is any way to send offline RFQ.</u>
    Hope this will help.
    Regards
    - Atul

  • UWL custom attributes are not retreived

    Hi all,
    We are trying to add some custom attributes to our UWL. We are able to see the new columns but they remain null. It seems that the values are not retrieved from the backend.
      We have tried defining custom attributes from workflow container, from BOR object and even UM but without success.
      We have followed this thread http://weblogs.sdn.sap.com/cs/blank/view/wlg/20379 and also other ones.
    Here is my code for my custom attributes (under "TEST" comment):
    <ItemType name="uwl.task.webflow.srm.TS00700018" connector="WebFlowConnector" defaultView="TS40008005_view" defaultAction="com.sap.pct.srm.core.action.launchWD.inv.detail" executionMode="default">
           <ItemTypeCriteria externalType="TS00700018" connector="WebFlowConnector"/>
                            <CustomAttributes>
              <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
                   <Attribute name="BOTYPE" displayName="Type of Business Object"/>
                   <Attribute name="BOID" displayName="Business Object ID"/>
                   <Attribute name="BOMODE" displayName="Business Object Mode"/>
              </CustomAttributeSource>     
              <!-- TEST -->
              <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalId" objectType="DECISION" cacheValidity="default">
                           <Attribute name="V_BE_REFOBJ" displayName="Description"/>
              </CustomAttributeSource>
              <CustomAttributeSource id="UM" objectIdHolder="creatorId" objectType="user" cacheValidity="final">
                        <Attribute name="department" type="string" displayName="Department"/>
              </CustomAttributeSource>
              <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
                   <Attribute name="W_HEADER_INV" displayName="Header"/>
              </CustomAttributeSource>                    
              <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="W_HEADER_INV" objectType="WebflowContainer" cacheValidity="final">
                   <Attribute name="GUID" displayName="MiGuid"/>
              </CustomAttributeSource>
              <!-- END TEST -->
         </CustomAttributes>
         <Actions>                    
              <Action reference="com.sap.pct.srm.core.action.inv_approve"/>
              <Action reference="com.sap.pct.srm.core.action.inv_reject"/>
              <Action reference="com.sap.pct.srm.core.action.launchWD.inv.detail"/>
              <Action reference="com.sap.pct.srm.core.action.launchWD.print"/>
         </Actions>
    </ItemType>
    I've read in this thread [UWL: Time Delay of SAP and Custom Attributes:  refresh necessary|UWL: Time Delay of SAP and Custom Attributes:  refresh necessary] that UWL cache and the delta pull mechanism must be configured for the new attributes but I don't know how to check it.
      Please, can anyone help me?
    Thanks in advance,
      Regards

    Hi all,
      I'm going to close this thread as it is duplicated.
    Regards

  • How to give block trace in workflows?

    I need to trace particular activities and action in work flows ..How can we give the <block trace =true>?
    I am trying to give right after the <Activity> which resulted to error.
    <Activity id='0' name='start'>
    <block trace='true'>
    <Transition to='Create OU Structure'/>
    <WorkflowEditor x='43' y='10'/>
    </block>
    </Activity>
    Appriciated if give one example
    Edited by: siteminder on Sep 16, 2008 11:16 AM

    Thanks frogger.I tried this option..giving some import xml errors.I will keep update after troubleshoot.
    Meanwhile I found another way to trace all workflows log activities.
    Open System Configuration object in the debug
    modified the below and exported.All workflow logs are writing to given file name workflow.log
    <Attribute name='workflow'>
    <Object>
    <Attribute name='consoleTrace' value='false'/>
    <Attribute name='fileTrace' value='C:\Idm7.1\Activesynclogs\workflow.log'/>
    <Attribute name='maxSteps' value='5000'/>
    <Attribute name='resultTrace' value='true'/>
    <Attribute name='retainHistory' value='true'/>
    <Attribute name='traceAllObjects' value='true'/>
    <Attribute name='traceLevel' value='4'/>
    <Attribute name='validationLevel' value='CRITICAL'/>
    </Object>
    </Attribute>

Maybe you are looking for

  • HT4864 How can I change my iCloud email to my AppleID email they are not the same

    How can I change my iCloud email to my AppleID email?  They are not the same and somehow were switched by my teenage daughter.  I can access the account and change anything except my iCloud eMail account.

  • Okay need some help badly

    Okay i have been having problems all day today. first mobile me now everything apple. For some reason i can't get safari to connect to the internet, firefox works fine, itunes store will not come up, mail doesn't connect, and when i go to mobile me i

  • Bloomberg Live TV no image

    I can't get the stream live video on Bloomberg website (http://www.bloomberg.com/tv/). I get the sound but no image. I have installed Perian and flip4mac (and Divx codec which I uninstalled). NB: This stream works on other older mac like macbook and

  • JMS in Enterprise with multiple VM's fail

    Hi Im running 9.0.3 enterprise on Windows 2000. I have a servlet that dumps messages into a JMS queue which invokes a MDB. The Server is running 2 VM's in the same island. If I chooses the restart option with enterprise manager interface, all works w

  • GRR3 - 6PP1-001 - Object display

    Hi, when runnig report with transaction GRR3, library 6P3, report 6PP1-001 the objects are displayed in internal format (f.e. PD00001539). Running the same report with transaction S_ALR_87013542 the objects are displayed in external format (f.e. BP/2