Track history in a Workflow process.

Hi
I have to track the action taken on a particular task and insert them into the application table. Is there a way to do this from the BPEL process. I tried the onMessage callback events for the Task service. None of them are triggered when an action is taken on the task.
Thanks
Soumya

Perry,
Concerning your first question - "How do you get the current participant's name in a workflow process?"
You will need to edit the WorkOnTask.asp located in ( ..\WebAccess\Web ) which is responsible for the merging\rendering of form\data. Add the following line around line 28, just after the destruction of the rs.
xmlData.SetField("WF_CURRENTLOGON", theUserName);
Now, on the XFA template add a field called "WF_CURRENTLOGON" and youre done. Note: This field will populate with the current wf particpant that has rendered the form ( great when using SWL ).
On your second question - "Get a list of all users who have access to the current user's worklist."
Building off of the last entry, within an ASP you can query the WorklistShares Table using the EPSDK, this should return a list of users per SWL. This could be called from either the Process or Form Template.
Enjoy.

Similar Messages

  • FIM 2010 Workflow Processing Issue

    Hi All,
    We are having a problem with FIM 2010 (Update Rollup 2) workflow processing.
    Background is:
                Set: Object State 2 set (criteria based membership, criteria includes AUX_Attr1 ‘NOT Equal’ 3)
                Set Object State 3 Set (Manually managed membership)
    WF1: set AUX_Attr1 to 3
    WF2 : Set AUX_Attr1 to 2
    MPR 1: Transition in MPR (Transition set = Object State 2 set), fires WF2
    MPR 2: Transition in MPR (Transition Set = Object State 3 Set), fires WF1
    What we are seeing is the following:
                We add a user to “Object State 3 Set”
    From the request history we can see that:
    The successful request for the set membership change (transition in Object State 3 Set)
    The successful request by the Forefront Identity Manager Service Account to set AUX_Attr1 to 3
    and FIM correctly fires MPR 2, this sets AUX_Attr1 to 3 and this has been verified by looking through the request history
                A couple of seconds later FIM fires WF2 which sets AUX_Attr1 back to 2.
                The request history shows no signs of the object transitioning back into “Object State 2 set” so I am unsure why this
    workflow would trigger again.

    Best thing to do with this problem is look at the request that caused this to happen and look for parent requests and for the applied policies
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Looking for screen to change Supplier User Registr.. workflow process name

    Hi,
    The question relates to Supplier User Management.
    Does anybody know if there is a page where you can pickup the workflow (the shipped one has internal name POS_REG) process name for supplier registration?
    Thank you.
    Anatoliy

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • Can a workflow process continue from form trigger?

    in my workflow project i have launched a workflow process from a form.in the process there is a notification from which i can open a form for further modification of data .currently i am continuing this particular process by pressing an 'updated' button in the notification after updating the data from form. if not updated it'll send that notification back again.can i do the same functionality through a button say 'updated' in the form called from the notification?
    ie i want to continue my process from my custom form called from notification,not by responding the notification's button itself .
    anyway i have completed the project succesfully.if anybody needs any help related to the functionalities noted above ( like 1.launching workflow from form or concurrent program
    2.opening(querying a custom form with particular data) a custom form from notification.
    3.submitting concurrent program from a workflow process ) can contact me at [email protected]

    When we consider that email is simply a communications protocol being leveraged by the workflow, it becomes clear that the problem most likely lies in the email enablement of your Archive list.  If your Archive list is indeed identical to the Requests
    list, then I would take a look at configuration for email on that list as it probably isn't configured correctly.  Additionally, you may wish to double check the email alias you're using in the workflow.  Sending email to the wrong email address
    is just a slip of the keyboard but can result in many hours of debugging.  Ultimately, I would recommend tracking the email through Exchange logs to see if it's received and sent correctly.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • WORKFLOW PROCESS IS NOT WAITING FOR USER INPUT LIKE RE-ASSIGN FUNCTION

    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • Tracking History

    Hello Everyone,
    I am having problem understanding the Tracking History Topic in Modeling. There are 4 scenarios to Model for user requirements. I could not find any doc or transcript on this topic. It would be very kind of u to provide one. Are these important topics?
    Its so confusing because u can mix different scenarios!!
    What is the Difference between Hierarchy Structure & an External Hierarchy? Why called External?
    Why is it said that Scenario D can be applied to scenario B & C? What does this mean?
    How can nodes appear more than once in a time-dependent hierarchy structure that is version-enabled? (Scenario C)
    Are Valid-From & Valid-To values copied from sys-to, sys-from which are generated by the system? (Scenario D)
    What main points should I understand from this topic?
    Please help me....I am drowning....

    Hello All,
    Somehow I'm able to get what i need. But still there is a problem.
    The steps we are doing are:
    Create a process level variable, which contains some hard coded state information.
    Map this variable to the pdf form's text field A.
    on the submit of the form, look at the field A and fill the history.
    Now the actual problem is, we have used text box with Allow multiple lines checked.  The requirement is history should be a listbox.
    In text box the longer text is wrapping to the next line which is not strictly needed.  If i remove that Allow multiple lines check box, we cannot scroll vertically when the text goes beyond the textbox boundary.
    Now the problem with list box:  We are facing a problem in using list box in mapping.  As we dont know exact number of items we cannot have that many items in the schema.  Is there any way to map a dynamic list box.
    If the forms moves from A to B to C.  Then the list box content should have 1 item when it goes to B, 2 items when it goes to C (along with #1), and so on.
    Please guide us,
    Thanks
    Deepak

  • When attempting to view the date track history for one employee, errors out

    Hi All
    When I attempt to view the date track history for one employee, it gives errors.
    To get the details, the navigation is :
    1. Search for employee xxxxxx
    2. click on Assignment button
    3. click on Date Track History.
    4. Receive error APP-DT-52554.
    5. Click OK on error message
    6. click on Full History button.
    7. Receive error APP-PAY-06153
    What could be the problem and how to solve this?
    Regards
    Rahman

    Sounds as if there is an inconsistency with the date tracked records. Can you check the records through TOAD or SQL Plus?
    Have alook at MetaLInk article 343070.1 which refers to the second error message.
    Regards
    Tim

  • Mass Maintenance will recognize any customer record in workflow process

    Hi gurus,
    Please help me on the Workflow process, how to handle below workflow  scenario,  is there any logic be hand this.
    please see in BOLD workflow issue.
    1.2     As-Is Business Process
    Currently Data Maintenance teams use standard SAP transaction XD07 to change Customer Account Groups. The standard transaction XD07 allows only one Customer Account Group to be changed at a time. The process is to be manually repeated for every customer. After the Account Group is changes in the request client (X07(10)), an RFC call is made to the BOR client (X07(20)) and then to the transaction client  (X08(10)) to change the Customer Account Group as the SAP ALE process does not support Account Group Changesu2026
    1.3     To-Be Business Process
    From time to time, bulk customer data updates will be needed. This can be the result of business situations that cause multiple updates to be performed for given customer fields such as Customer Account Group field. A new program must be developed to let the user mass update the Customer Account Group field (KNA1-KTOKD). The Program should be accessed on demand using a new T.Code (YMDM_ACCTGRP_CHG).
    Business users will submit a spreadsheet in the appropriate upload format to CDM along with written approval from the Food Service data owner to execute the upload in P07. CDM will execute the upload, record all documentation for the audit change log and notify the submitter when complete
    1.4     To-Be Business Process Flow Diagram
    1.5     Enhancement Functionality
    The following are the requirements:
    u2022     This tool will enable a user to perform bulk update to the customer account group field.
    u2022     The utility should let the user upload a u201CTab delimitedu201D file to mass update the Account Group field.
    u2022     The Load File will have 3 columns, Customer Number (KNA1-KUNNR), Current Account Group (KNA1-KTOKD) and New Account Group (KNA1-KTOKD).
    u2022     The Program must utilize the process behind the standard SAP transaction XD07 to change customer Account Groups in X07(10).
    u2022     The standard customer ALE (DEBMAS) process does not support Customer Account Group changes, so the mass change program must use the RFC functionality to change he Account Groups in the BOR (X07(20)) and Transaction system (X08(10)).
    u2022     Workflows for all updates performed using this T.Code are automatically approved.  No manual approval steps will be needed after data load.
    u2022     Mass Maintenance will recognize any customer record that has an open workflow. If a customer record is already in the request queue, it is u201Coff limitsu201D for any bulk update. That update request to that particular customer record must be rejected.
    u2022     Provide the option to run the process in validation mode and update mode.
    u2022     Report all hard and soft legacy field errors on a validation report.  All u201Chardu201D legacy field validations should be passed before allowing update mode to run.
    u2022     The upload process will produce an error log for all records not loaded into the system.

    see newer message. Problem appears to be related to gmail

  • Interrupt workflow process in process controlled workflow

    Hello experts,
    In a custom requirement, we need to interrupt the workflow process.
    For example, if we have 4 levels of approval. After the 2nd approver has approved the shopping cart, then the workflow process should be kept on hold. Based on a custom interface result, if the condition from another interface is satisfied, then the shopping cart should appear in 3rd approver's UWL.
    I tried with triggering interrupt method of class /SAPSRM/cl_wf_apv_facade in save BADI of shopping cart. But it did not work.
    Please let me know how can i interrupt the workflow process till some custom condition is satisfied.
    Regards,
    Yayati Ekbote

    Quite often this kind of requirements can be fulfilled by using wait steps in the workflow. One example could be that you put a "wait for event" step in your workflow template. Then you could trigger this event from your interface (or whatever) with function module SAP_WAPI_CREATE_EVENT.
    Maybe I should ask that how do you know that the condition has been fulfilled? Is it a field in a certain table, or? If yes, instead of the "wait for event" step, you could also wait that your condition is fulfilled (a field in your table gets value X). Just take a look into the workflow template and its step types. Wait step is the way to go.
    Of course it might be possible that in the SRM/shopping cart workflows, there is already something built-in, which can be then utilized by using some of the BADIs, but if you cannot find anything from the documentation, then choose one of the above-mentioned approaches.
    Regards,
    Karri

  • Using Javascript to email a form in a workflow process

    I've created an Acroform which will be routed around in a workflow process.  The user will open the form, add information and hit a button which is coded in javascript usng the mailDoc function.
    It works perfectly EXCEPT that each time the document is forwarded, "Adobe Acrobat Pro.pdf" gets appended to the name of the file in the email.  It doesn't actually rename the file, so the file does open properly, but the email looks pretty goofy.
    Example.  The filename is Form14.pdf. 
    When the third person signs off and clicks the email button, the email is created, with the address, subject line and body of the email completed, and the document attached has the little icon and then
    - Form 14.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf
    Is there some way to prevent it from concatenating like this every time the document is emailed?
    Thanks!!!

    Maybe you could try it like this... I saw this question answered not too long ago.
    Submit Portal Form Values to Portal Report

  • FTP error in oracle workflow process

    Hi All,
    I have written a workflow process which deletes a file on FTP. The process is deleting the file but is showing a warning message. Does anybody have a idea regarding this. One more thing even if file is not found the process completion status is successful. Its status should be error.
    The ftp site is on the same machine as owb server.
    The following values have been passed
    Command: ftp
    Parameter List: /-A/localhost/
    Success Threshold: 0
    Script: delete filename
    Output Message Received:
    Starting Execution ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE:FTP
    Completing Task ETN_DELETE_FILE
    Anonymous login succeeded for [email protected]
    WARNING: Log file truncated - see RAB for further information.
    Completing Execution ETN_DELETE_FILE
    Please let me know about this.
    Thanks & Regards
    Bang.

    I am not saying your method is not correct, but if you give a shot to go with User Defined Activity. Yep that's correct , just write line in a shell script and call that script in user defined activity.
    Property values
    command ksh
    script     pathname with that script file name (/tst/usr/script/filename.ksh)
    or
    command     mv
    parameter_list     pathname with that filename
    I feel this is very simple and easy to manage too.

  • Adding a record in a table from a workflow process

    Hi all,
    I need to add a recod in a table using a workflow. Here the scenario:
    A user add a record into table A, when done MDM trigger the workflow in Visio. The workflow has to add a record in table B coping some values of table A.
    Thank in advance for your help.
    Vito

    Hi Vito,
    I am really doubt that MDM has the feature of adding a record to an table thru workflow process, rather workflow process can be triggered as you said while creating a record.
    thanks
    Alexander

  • How to get the Asset's current step under a specific workflow process via API?

    Everyone,
    Is there a way to get the asset's current step for a specific workflow process by the WebCenter Sites API? We are showing out the asset created within the WebCenter Sites in another application via its API. We would like some actions get to be done once determined assets went into a specific step of a workflow process. Any suggestions are welcomed.
    Regards!

    Here is some information from the FDK Programmer's guide page 115:
    IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
    It cant span multiple flows, footnotes, table cells, or text lines.
    It is possible for a document to have no text selection or insertion point at all. This can occur in
    the following circumstances:
    ● One or more graphic objects in the document are selected
    ● One or more entire table cells in the document are selected
    ● There is no selection of any type in the document
    So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
    But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
    Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
    Many thanks in advance!
    Best Regards,
    Ellen N. Zhao

  • Own workflow process step (java) not listed in the generic Process step component

    Based on the description Extending Workflow Funtionality I have used this sample to create a bundle with the CRXDE Development Environment. Almost just copying the code from the page (had to make some adjustments to correct program errors in this sample) an then build bundle. According to Note 2 this program should be seen in the list supplied by Process step Component when editing a workflow. But it is not there.
    @Component
    @Service
    public class MyWorkflowProcess implements WorkflowProcess {
        @Property(value = "An example workflow process implementation.")
        static final String DESCRIPTION = Constants.SERVICE_DESCRIPTION;
        @Property(value = "Adobe")
        static final String VENDOR = Constants.SERVICE_VENDOR;
        @Property(value = "My Sample Workflow Process")
        static final String LABEL="process.label";
    What do I need to do else?
    Thanks,
    Ulrich

    Ulrich,
    CRXDE does not support the Java annotations which are listed in the documentations. When you want to leverage CRXDE (which is for development ... discouraged), you need to migrate to JavaDoc style annotations.
    For documentation how you can setup a development workflow based on a Java IDE and maven please see [0].
    kind regards,
    Jörg
    [0] http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apac he-maven.html

  • Hi There, Any one Know How To Call Workflow Process From Special Menu.

    Hi There,
    Any one Know How To Call Oracle Workflow Process From Special Menu.
    I mean Tool -> Special Menu 1-45
    Or How to call Oracle Workflow Process From Command Button.
    Thanks
    Bachan.

    Can u give me some examples.
    Second thing we can add special action (special Menus) from Form Personaliztion.
    But how to add launch wft through Personalization
    Please Give me a breaf detail.
    Thanks
    Bachan

Maybe you are looking for