Workflow Attributes

Is anyone using workflow attributes to store all their data relevant to a workflow process, similar to the product demos?
Ideally, I'd like to store all my application data in an external schema and just have workflow keep track of the item_key. The problem with this approach is that you can't reference data in a notification header, for example, unless it's stored as an attribute. I've read where overusing item attributes is bad practice, but I don't like the idea of having some data stored as item attributes, some stored externally, or a combination of both. Any suggestions?
Thanks in advance.

You generally should not use Workflow to store application data. Your application should be doing it. Workflow should store pointers to your application which it can use for the process.
When sending notifications you can construct the subject and body by setting a minimal set of attributes. In this way you dont need to store all application data.
Reducing the number of attributes is defenitely recommended. Also creating attributes on the run only when required is also another option which you can use.

Similar Messages

  • Storing Multiple Values in Workflow Attribute

    Hi,
    I got the requirement where i want to store multiple values into Workflow Attribute. Is there any way to accomplish this.
    Thanks
    J

    Hi,
    Do you mean multiple different values in the same attribute at the same time?
    If not, then yes - this is standard functionality. Just use the appropriate API to set the new value whenever it changes.
    If yes, then possibly, but that would be exceptionally bad design. If you want to store different concurrent values in the same attribute, then the only type this would work for would be a text attribute, and you would need to include a delimiter between the values so that they can be stored. Then, whenever you need one of the values, you need to split the attribute according to the position of the delimiters.
    I have no idea when you would have a requirement to store multiple values in the same attribute at the same time - as I said, it is exceptionally bad design, so I'm going to hope that you just mean to hold different values at different times.
    If you meant you want to store multiple values into multiple attributes at the same time, then there are also APIs that can be used to accomplish that. I would not recommend using them, as it makes it harder in the long term to maintain and support the application - having multiple calls is no slower, but makes the code easier to read and understand.
    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

  • Workflow Attribute Set

    Hai frnds,
    I am a newbie to oracle workflow.May I know how to create oracle Workflow Attribute Set

    Can you please enhance the question? What is it you a trying to do? In Workflow you can create a list of attributes by using user type wf_parameter_list_t and then adding attributes to it like this
    declare
    myList WF_PARAMETER_LIST_T;
    begin
    WF_EVENT.AddParameterToList('PARAMETER_NAME', 'Parameter Value', myList);
    end;
    There are several APIs that use this user type.
    Regards,
    Alejandro

  • Storing XMLType object as a Workflow Attribute - is it possible?

    Dear Experts,
    I have an XML document stored as a PL/SQL 'XMLType' object and I wish to store it in a Workflow Attribute. Is this possible and if so, under what 'Type' option shall I store it as?
    Many thanks,
    Mark

    Hi,
    You can store the payload as a CLOB inside a Workflow Event attribute type (WF_EVENT_T).
    If the XML is guaranteed to be short, you could store it in a text attribute of up to 4000 characters, but I'd be inclined to store it in the 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://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Workflow Attribute Names

    Answer me this...
    When you create a workflow in the Workflow builder, one is FORCED to have the item level and function level attribute internal names to be all uppercase. Fine. So I make a work attr called MY.ATTR.NAME.
    But then, in a PL/SQL function, I am allowed to call WF_ENGINE.GetItemAttrText(itemtype,itemkey,'MY.attr.NAME') and it will fail. It will fail because there is no such attribute called MY.attr.NAME and that is because the workflow builder creates all attributes with uppercase names.
    Why in the GetItemAttr and GetActivityAttr functions does Oracle not call UPPERCASE on the names? It would only make sense, so that there is a normalized form of attribute naming? Or make the search for attribute names case-insensitive. Looking at the function body, neither is done. Why is that?
    Its forcing me to wrap the Oracle-provided functions with my own that call UPPERCASE on the attr names and then call the Oracle functions because I have many users who will be creating workflows and their corresponding PL/SQL functions and I'd like to make it as painless as possible.

    Raja,
    How does one go about opening an ER? Through my MetaLink account?
    I mean, its not absolutely necessary although I would like to see it in a future patch or version. I just didn't understand the logic behind it... Force users to be able to create only uppercased attribute names but when they go to retrieve them, allow any capitalization. That just leaves room for unnecessary errors.

  • Workflow : attributes  and methods in BOR

    Hi to all,
         I need to create a custom attribute in custom BOR object. I want to put some value in custom attribute by using select statement . where do i write the code for that attribute in BOR. In standard methods i have seen that ex: gw_purchase = object-key-number   wt is that object-key- number. wt is the value does this holds
    so any one  please explain me  with details.

    Hi,
    methods in BOR are piece of codes that you execute in runtime by calling them in workflow. So when you check the box object method with dialog, such methods need to processed by user i.e; workitem agents. If you don't check this checkbox, the piece of code (method) will you be executed in the background without sending the workitem to user.
    Let me know if you still have doubts.
    Regards,
    Raj

  • Central contract Workflow attributes

    Hello,
    As per my understanding we can activate the workflow on any contract attributes/ fields(for central contract) like prices, product category etc.
    We can activate u201C1-stepu2019 standard bc set u201C/SAPSRM/C_CT_600_001_SP04u201D and can determined workflow agent based on any attributes like u201CProduct categoriesu201D ,price etc
    Or we can use BADI Implementation u201CBADI /SAPSRM/BD_WF_RESP_RESOLVERu201D for Agent determined based on attribute store in customized table
    Please correct me if my understanding is wrong
    However we need your valuable inputs on below
    1)     List of central contract ( CCTR ) attributes/fields on which we can activate the workflow.
    2)     List of central contract ( CCTR ) attributes/fields on which we can activate the workflow without any badi implementation ( without any coding ). As a part of standard configuration.
    Best Regards
    EPR_SRM_MDM

    HI,
    I suppose you plan to use process controlled workflow.
    If yes then you can check the tcode BRF and try to create a expression of type formula interpreter.
    In the this expression navigate to formula editor and here you can find all the attritutes you can trigger for any business object.
    For agent dertermination SAP has already delivered many agent determination method.. If a process level and click on the F4 feature available for field Resolver Name to find all the predelivered methods.
    You can check the service market place http://service.sap.com for Workflow Guide SAP SRM 7.0
    Path:
    service markerplace -> Release & Upgrade info -> Installation & Upgrade Guides-> select SRM 7.0
    Regards
    Sam

  • Tracing Termination Workflow attributes from Manager Self Service

    From Self service page on termination, I am setting attributes in a workflow function these attributes are used in the notification that is sent to the users. For a particular scenario I want to trace values of the attributes, is there a way to trace complete flow and attribute values flowing from self service page -> Workflow -> Notification.

    Why don't you try with the Wokflow status monitor. There you can check out the activities and check out the values of the attributes i think

  • Workflow Attribute Namespace?

    How would I compare a waveset attribute with the attribute being modified from the Tabbed User Form?
    ex)
    <Transition to="Rename Activity">
    <cond>
    <neq>
    <ref>waveset.EXT_ATTRIBUTE</ref>
    <ref> EXT_ATTRIBUTE being updated in UpdateUser WORKFLOW</ref>
    </neq>
    </cond>
    </Transition>
    <Transition to="DoNotUnlock"/>
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    You can check for renames by comparing like this:
    <neq>
        <ref>user.accounts[Lighthouse].netlinkID</ref>
        <ref>user.waveset.attributes.netlinkID</ref>
    </neq>    A problem is that if the rename of a resource account fails for some reason, the workflow won't try it again the next time.
    A more effective approach that I use to check for renames with LDAP and AD is this:
    <and>
        <ref>user.accountInfo.accounts[LDAP].created</ref>
        <not>
            <invoke name='endsWith'>
                <new class='javax.naming.ldap.LdapName'>
                    <ref>user.accountInfo.accounts[LDAP].accountId</ref>
                </new>
                <list>
                    <new class='javax.naming.ldap.Rdn'>
                        <s>uid</s>
                        <ref>user.global.netlinkID</ref>
                    </new>
                </list>
            </invoke>
        </not>
    </and>It is clumsy in that I have to construct the RDN and compare it to the resource account. I have to do this for both LDAP and AD.
    It does work reliably, though.

  • Make workflow attribute required

    Hi developers.
    I need to make message respond attribute required. Now it is optional for fill. Is it possible?
    Thank you.

    Neeraj Verma wrote:
    Hi Jack,
    In order to fullfill this you should use Requied user property at Field Level. Also note you have to use a calulated Field which will calulate the logic like IIF([Industry Segment]="Banking & Finance", "Y", "N")
    I am also giving you useful link :
    http://download.oracle.com/docs/cd/B40099_02/books/ToolsDevRef/ToolsDevRef_UserProps164.html#wp574664
    Hijack
    Keep in mind that the Field User Property 'Requied' only works with BC that are based on the class CSSBCBase.
    Since you didn't say what version of Siebel you are on, you should also be aware of the fact that this Field User Prop
    was introduced with Siebel 7.5 and doesn't work with Siebel 7.0 or earlier versions.
    Axel

  • Issue in notification API for oracle workflow

    Hi,
    I am facing issue in sending oracle workflow notification. i have created a simple workflow with a process.
    I wrote one package which is creating adhoc role and sending the notification through api I(wf_notification.send).
    I am able to get the notification as well as email notification but without attribute values. My workflow attributes are getting replaced by null, but message body is appearing.
    Please help me, its urgent.
    Thanks
    Rajni

    I doubt that Oracle 7 DB is not supported. You may consider raising a SR with support.
    Regards,
    Anuj

  • 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!

  • Workflow Return for correction RFC history not appearing

    Hi -
    I have built a custom new workflow in Oracle Learning Management.
    I am using the workflow attribute WF_NOTE to capture the comments of the approvers.
    When the approval moves from one approver to another, it successfully captures any comments made by the previous approvers and displays it to the next approver.
    However, when any of the approvers click on return for correction ( RFC ) button and the notification moves to the creator, the approval history is blank and does not have the comments made by the approver about why he is returning for correction.
    Any insight?
    Thanks

    In actual it should update only that SIT record which is currently under consideration and not allow other records to modify.Ayaz
    this is a very valid question .. and same thing happens with EIT as well. This happens because when you create or update EITs, SITs you can do more than one at a time at the time of creation/ updation. So when approver go to update action or send it back for return for correction you create/ update multiple EITs and SITs as all of that go in single transaction.
    Let us know if you find any solution for this one.

  • Workflow notification to multiple users

    Hello,
    We have developed a custom workflow and XX_APPROVER is the workflow attribute where we pass UserID, to whom notification should be sent and it works fine.
    But now we need to have that notification sent to multiple users. What is the best possible way to achieve this?
    regards, Yora

    create an adhoc role
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15855/T341351T341723.htm#I_ax2Dcrahr
    procedure CreateAdHocRole
    (role_name in out varchar2,
    role_display_name in out varchar2,
    language in varchar2 default null,
    territory in varchar2 default null,
    role_description in varchar2 default null,
    notification_preference in varchar2 default 'MAILHTML',
    role_users in varchar2 default null,
    email_address in varchar2 default null,
    fax in varchar2 default null,
    status in varchar2 default 'ACTIVE',
    expiration_date in date default null,
    parent_orig_system in varchar2 default null,
    parent_orig_system_id in number default null,
    owner_tag in varchar2 default null);
    Thanks
    Ravi

  • How to create a HTML Table in Workflow Notification ?

    Hi,
    I have a requirement to display multiple records in a HTML table in Workflow Notification. I have developed the code. In my Notification, I am seeing HTML tags and not a formatted HTML report. Appreciate your help and comments.
    The following is what I have done in WF.
    1. Define attribute in WF of type Document
    2. Define Message in Text Body ( Should i also copy the same thing in HTML Body ??)
    The following is my PL/SQL
    Variable l_table is defined as varchar2(30000)
    -- HTML Table Heading
    l_table := '<table><tr><td>Amount</td>
    <td>Description</td>
    <td>Type 1099</td>
    </tr>';
    WF_ENGINE.SetItemAttrText(itemtype,
    itemkey,
    'FRB_DISTRIBUTION_HISTORY',
    l_table);
    When I get a notification, I get the following sample
    <table><tr><td>Amount</td>
    <td>Description</td>
    <td>Type 1099</td>
    <td>Receipt Required Flag</td>
    <td>Invoice Id</td>
    <td>Invoice Distribution Id</td>
    </tr><tr><td>100</td>
    <td></td>
    <td>MISC7</td>
    <td></td>
    <td>429684</td>
    <td>464834</td>
    </tr></table>
    I am missing something, Can you please let me know, what am i missing.
    Kiran

    Hi Matt,
    I am working on AP_WFAPPROVAL_PKG (Oracle EBS Invoice Approval Package).
    I have defined a Workflow Attribute as Type 'Document' (in Workflow Builder)
    In my AP_WFAPPROVAL_PKG Package, I am retrieving my values and returning it to a variable of type varchar2(32000) and seting the WF variable(displayed below).
    WF_ENGINE.SetItemAttrText(itemtype,
    itemkey,
    'FRB_DISTRIBUTION_HISTORY', -- This is my WF Attribute of type 'Document'
    l_table);
    When I see the notification, i get the format displayed below (I do see the correct values generated, but they appear as tag, and not as a HTML Table Report)
    <table><tr><td>Amount</td>
    <td>Description</td>
    <td>Type 1099</td>
    <td>Receipt Required Flag</td>
    <td>Invoice Id</td>
    <td>Invoice Distribution Id</td>
    </tr> <tr><td>60</td>
    <td></td>
    <td>MISC7</td>
    <td></td>
    <td>429681</td>
    <td>464827</td>
    </tr><tr><td>40</td>
    <td></td>
    <td>MISC7</td>
    <td></td>
    <td>429681</td>
    <td>464828</td>
    </tr>
    Please advise
    Kiran

Maybe you are looking for

  • Is it possible to re-install iWork 09 without the physical CD?

    I bought iWork 09 two years ago from an Apple store in the UK but have since moved abroad to Australia. I installed the software on my MacBook (late 2008 model) but have since had to replace the hard drive so it is no longer installed. Is it possible

  • CMS Layout in XI 3.0

    i've just installed the Xi 3.0 and i may need much of help about that, the first issue i faced, the layout of the CMS web appliaction. whenever i select universes,connections, users,,,,, etc i get everything in large fonts and i cant see anything. an

  • Two display questions

    Anyone who can answer either of these questions will be my hero: I have a desktop monitor as well as a hi-def TV connected to my G5 tower 1: while trying to change my wallpaper on the TV (my secondary monitor) I somehow managed to move my dock there

  • "Publish Site Changes" Not Active

    I am running iWeb version 3.0.4 (601) and Mac OS 10.7.1.  Thanks for your help.  - Fabe

  • Colored and white lines across iPad screen

    Ok so I got home from work and I pulled my iPad out of my laptop bag and I noticed that when I turn it on there are like these colored lines and also this big white bar across the screen. Why are those things there? http://www.flickr.com/photos/53513