How to link a custom ADF form to BPM workflow

Hi All
Hope you are doing well.
I've a basic knowledge on BPM, but had to start off with a project.
My scenario is as below.
1. User A clicks on a task in his BPM Worklist which should trigger an email to the same guy with a link in it (which is an ADF form to create a new row in a db with some values)
2. Now, A clicks on the link send to him on Email, which opens up an ADF form where he provides all the details, along with the reviewer name(say, B, typically his manager, but he has to provide it, not derived automatically using getManger()) and submit.
3. Now, this action should trigger an Email to the reviewer that he has provided in the form(step 2) where he can either approve or reject, with comments.
4. Once B approves, A has to get a notification email saying the row has been created.
The row that gets created in a db is a WS operation (createProject(with all the details))
I'm seriously confused in designing this requirement.
If I start the workflow with a Initiator pattern, just a click on the task should send an email to himself...How can this be done?
How do we get in the ADF form that is in a seperate prj in to this workflow?
How do we capture the values from the ADF form in to the BPM workflow?
Would some one throw some light on how do we capture this scenario
Regards
RaviKiran

Hi Tom Daria,
This should work in SharePoint workflow 2013 task form.
You can follow the step in the article you provide to custom the task form page, I tested it with the step, it can successfully bind the custom form page to the task content type.
In the form page approve button event, you can add the logic to redirect to another page. In the workflow, associate the workflow with the custom task content type that will use the custom task form.
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • How to add .js link in custom list form through sharepoint designer 2013

    hi friends
    so far i was adding jquery code to script editor webpart in custom list form.
    but i need to know how to add .js link in custom list form through sharepoint designer 2013
    please help me.

    Hi,
    We can add the "JS Link Property" in the “WebPart” node in the custom list form page through SharePoint designer 2013.
    Here is an example for your reference:
    <JSLink xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">~site/Style Library/js/custom.js</JSLink>
    Noticed that, we should not lose the 'xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm' attribute.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How To Migrate My Customized reports & Forms  To R12?

    Hi...
    How To Migrate My Customized reports & Forms To R12?
    I want to migrate my customized report&forms to R12 From 11.5.9 Base?
    how to find the customized Reports & Forms Location?
    How To Register the customized Reports & Forms?
    Regards
    **SBJ**

    Hi,
    Please see these documents/links.
    Note: 563258.1 - How To Upgrade 11i Custom Forms To R12
    Note: 451934.1 - Accessing Custom Forms After Upgrading From To R12
    Note: 552010.1 - Can't Open Custom Forms After R12 Upgrade
    Note: 130686.1 - How to Generate Form, Library and Menu for Oracle Applications
    Forms & Reports in R12?
    Forms & Reports in  R12?
    Thanks,
    Hussein

  • How to link information in a form to a server?

    coudl someone tell me how to link a data in a form to a server...i came across some wsdl ui(dono if i spelled it right), and i dono how to get that..so please can anyone help

    You can connect a form with the server using any of many technologies, such as PHP, BlazeDS, ColdFusion, JSP, ASP, Perl, Python, etc.
    Here are some links for using Flex with PHP and MySQL:
    http://www.switchonthecode.com/tutorials/using-flex-php-and-json-to-modify-a-mysql-databas e
    http://www.switchonthecode.com/tutorials/flex-php-tutorial-transmitting-data-using-json
    http://www.switchonthecode.com/tutorials/flex-php-json-mysql-advanced-updating
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • How to disable buttons in ADF form so it can be reused

    I would like to reuse the same Human Task ADF form for multiple User Activities in the same BPM 11g process definition.  The only difference between the User Activities in the process are the outcomes (buttons) allowed.  For example, in some User Activities, the outcomes allowed are APPROVE and REJECT.  In others, it might be APPROVE, REJECT, and REPROCESS.  Is it possible to hide, or disable, buttons in a Human Task ADF form based on some settings done in the User Activity, or something passed to the Human Task ADF form?
    I started digging, and I see in the jspx file for the form, there is an attribute named "visible" that is set as follows on the button:
    <af:commandToolbarButton actionListener="#{invokeActionBean.setOperation}"
                           text="#{wf:getResourceValue('APPROVE', 'bindings.customActions')}"
                           disabled="#{!bindings.APPROVE.enabled}"
                           action="#{invokeActionBean.invokeOperation}"
                           partialSubmit="false"
                           visible="#{wf:isCustomActionAvailable('APPROVE', 'bindings.customActions')}"
                           id="ctb2">
        <f:attribute name="DC_OPERATION_BINDING" value="bindings.APPROVE"/>
    </af:commandToolbarButton>
    So if I can figure out a way to pass flags to the form, and then use those in the setting of the "visible" flag, would that do it?  Is there a better method?
    Thanks,
    Joe A.

    Set the binding to the button in the managed bean based on the input form parameter. For example if parameter value is paramValue1
    <task-flow-definition id="sourceTaskflow">
      <input-parameter-definition>
          <name>inputParameter1</name>
          <value>#{pageFlowScope.paramValue1}</value>
          <class>java.lang.String</class>
       </input-parameter-definition>
    </task-flow-definition>
    Set binding to not enabled.
    #{!bindings.CreateInsert.enabled}
    Some relevant references
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    Using Parameters in Task Flows

  • How to link a custom BADI with standard report.

    Hi All,
    I have a requirement to create a Custom BADI and to link it through the Standard Program. How to do this. As i cannot modify Standard Program.
    I have put some checks in custom BADI, which i want to be done before anyone runs standard program. I have a doubt of how to do this in between (before executing Standard Program) as i cannot use my Custom BADI in Standard Program. Then how to trigger the BADI and where. Is there any way to accomplish the same ?
    Thanks in advance.
    Regards,
    Neha

    Hi Neha,
    I am stuck to the same problem. if you have got the answer please share it.
    Nilesh

  • How do I stop custom MD form button refresh?

    I've added a custom button to my master-detail form. It invokes a JavaScript function that calculates the totals of the columns of textboxes on the screen. But when the button is clicked, it refreshes the screen. This means that it loses all the totals when the screen finishes refreshing.
    I found that the button automatically adds doEvent() to the end of the JavaScript, causing the refresh. How do I stop it from doing this???
    Thanks,
    Carey

    Hi,
    Dont give any event for the button. Dont select "custom". Only have a javascript event.
    Thanks,
    Sharmila

  • How to create a customer feedback form?

    I am a tech writer who works for a very large, global computer company. We have thousands of technical documents on the web. We're interested in providing a customer feedback mechanism that would be invoked by our PDF documents. I watched the Adobe TV overview "Easier PDF forms and data collection," but I need to know more. Could someone direct me to a document that describes PDF forms in more detail?
    I am particularly interested in how the PDF form can be used for data collection. The above overview hinted that we could use an Adobe server to deliver our data to us. It would be wonderful if we didn't have to ask our overworked IT department to set up a special infrastructure for our data collection.
    I am also interested in ways the PDF forms could be paired with our PDF tech docs. Could we insert a boilerplate form into each of our docs, for instance? Could we point our readers to a form that resides elsewhere on our website? Could the form be made to appear when the reader closes or navigates away from the tech doc?
    Any help would be much appreciated.

    I am a tech writer who works for a very large, global computer company. We have thousands of technical documents on the web. We're interested in providing a customer feedback mechanism that would be invoked by our PDF documents. I watched the Adobe TV overview "Easier PDF forms and data collection," but I need to know more. Could someone direct me to a document that describes PDF forms in more detail?
    I am particularly interested in how the PDF form can be used for data collection. The above overview hinted that we could use an Adobe server to deliver our data to us. It would be wonderful if we didn't have to ask our overworked IT department to set up a special infrastructure for our data collection.
    I am also interested in ways the PDF forms could be paired with our PDF tech docs. Could we insert a boilerplate form into each of our docs, for instance? Could we point our readers to a form that resides elsewhere on our website? Could the form be made to appear when the reader closes or navigates away from the tech doc?
    Any help would be much appreciated.

  • How to Edit a custom HCM form directly after Employee selection?

    Hi All,
    As per the requirement, the Manager should have a tab in Portal called "Forms and Processess"  and on click of that he should see a Page with few hyperlinks . Each hyperlink is the name of a HCM Form.
    So,  the Manager will click on one of them to start a particular form. ex. One time payment
    After clicking, he should have the Employee search result having Direct reports under STEP "Select Employees".. But the next STEP has to be "Edit" instead of "Select Process" and the Form "One time payment" should directly Open for him to work on.
    Please help me providing the relevant information and the approach. Let me know if you need any additional information.
    Regards
    DK
    Edited by: DIPENDRA MOHANTY on Mar 11, 2011 12:05 AM
    Edited by: DIPENDRA MOHANTY on Mar 11, 2011 12:06 AM

    we do have selection of employees or search and you can choose a form?
    If you want to change it, then only option is WD ABAP Iviews custom
    But i still didnt fathom the need of teh approach above, does the standard doesnt meet the requurement? Please check it
    which is pretty flexible

  • Image in ADF form, through BPM binary datatype

    hi All,
    I have a scenario in bpm 11g, where a user will upload the image file and after process completion it will persist to database. I tried defining the binary datatype for holding that image, but that binary type is not displaying as image in any subsequent task. Additionally, i fetched the Blob type, containing image from the database through database adapter, it also is not been shown in the adf data table. What am i doing wrong? (Found a servlet work around, but want this to be done through bpm drag and drop). Is it possible?
    Thanks

    Hi Asad, I'm sorry for this late answer :(
    Please follow this steps:
    1- Create a new manage bean with request scope.
    2- Select from the page the image component and go to the property inspector in the attribute bindings and edit it, select the manage created and write a name for the component. You w'll see in the manage the attribute created.
    3- In the manage bean, put this (private UploadedFile _file;) as an attribute from the class and create the accessors.
    4- Do the same thing for the property value for the inputFile componet, select the manage and then the field _file* .
    5- For the inputFile select, in the property valueChangeListener select the method in the manage and set true to the property AutoSubmit
    The Manage can be this one, adapt it if you need it:
    I already test it, so I realy hope this work wor you:
    Note: Create the directory "img/tmp" in the public_html folder of the project
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import javax.servlet.ServletContext;
    import oracle.adf.view.rich.component.rich.output.RichImage;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import org.apache.myfaces.trinidad.model.UploadedFile;
    public class MyBean {
        private UploadedFile _file;
        private RichImage myImage;
        public MyBean() {
        public void ValueChangeListener(ValueChangeEvent valueChangeEvent) {
            _file = (UploadedFile)valueChangeEvent.getNewValue();
            if (_file != null) {
                //You can add some other validations here...
                myImage.setSource("/img/tmp/" + writeToFile(_file));
                AdfFacesContext.getCurrentInstance().addPartialTarget(myImage);
        private String writeToFile(UploadedFile file) {
            ServletContext servletCtx =
                (ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext();
            String imageDirPath = servletCtx.getRealPath("/img/tmp");
            String fileName = getTime() + file.getFilename();
            try {
                InputStream is = file.getInputStream();
                OutputStream os =
                    new FileOutputStream(imageDirPath + "/" + fileName);
                int readData;
                while ((readData = is.read()) != -1) {
                    os.write(readData);
                is.close();
                os.close();
            } catch (IOException ex) {
                System.out.println("-----------------ERROR MESSAGE------------------ \n");
                System.out.println(ex.getMessage());
                System.out.println("-----------------FULL STACK TRACE------------------ \n");
                ex.printStackTrace();
            System.out.println(imageDirPath + "/" + fileName);
            return imageDirPath + "/" + fileName;
        private String getTime() {
            Calendar cal = Calendar.getInstance();
            Date time = cal.getTime();
            SimpleDateFormat sdfh = new SimpleDateFormat("HH");
            SimpleDateFormat sdfm = new SimpleDateFormat("mm");
            SimpleDateFormat sdfs = new SimpleDateFormat("ss");
            return sdfh.format(time).toString() + sdfm.format(time).toString() +
                sdfs.format(time).toString();
        public void setMyImage(RichImage myImage) {
            this.myImage = myImage;
        public RichImage getMyImage() {
            return myImage;
        public void setFile(UploadedFile _file) {
            this._file = _file;
        public UploadedFile getFile() {
            return _file;
    }Regards Dariel.

  • Custom registration form

    Hi,
    Can anyone please help me with the following?
    I need to build a class registration form for my client.
    Classes broken-down on: private sessions and group sessions, so 2 different prices for each class.
    Group pricing starts at 3 people and more but up to 15 people per class.
    There is a discount for the person who brings his/her own board to the class. So let’s say there is a group of 3 people and 2 of them have a board then there is a $5.00 discount for each board, in this case equals $10.00 off.
    What is the best way to create such form?
    I saw http://css-tricks.com/examples/DynamicOrderForm as a possible solution, a great start but it doesn't have everything that I need. Also http://dabrook.org/examples/cdia/javascript/05/form.html had some help but if anyone has a more complete approaches for a jquery newbie would be greatly appreciated.
    Also, how to tie this custom registration form to the BC platform.
    Thank you.
    Lana

    Thank you,
    using this method would the Capacity: ...(....% booked) change accordingly. Let's say someone booked 7 seats and the total available is 14 would it show for the next person 50% booked?
    Thanks,
    Lana

  • SharePoint 2013 Workflow Custom Task Form

    Hi..I am working on SharePoint 2013 workflow using visual studio 2013. In this workflow, i am creating tasks and i want to make a custom task form.
    My workflow contains serial tasks. When each user approve, he should specify the next user.
    I have added a custom content type and assigned it to my tasks but all i can do is taking the outcome from the task form as integers.
    I want the user to approve and choose another user so i can assign another task to him.
    thanks..

    I believe what you're looking for is the Collect Data from User function, however I don't see that anywhere in a 2013 workflow. This did exist in 2010 workflows.
    What you can do is to change this to an InfoPath form and run the workflow that way, assuming there isn't anything you absolutely need Visual Studio for.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to Open BPM worklist when a link is pressed in custom ADF application

    Hi Guru's
    I have a requirement where i have to open BPM worklist app when a user clicks on a custom ADF application link.
    Scenario
    1) In custom ADF application we have a link.
    2) user selects the link and we have to open the users BPM worklistapp page.
    Can you please let me know if this is possible or not? If so can you please help me out
    Regards,
    Ram

    Bill,
    Can you please let me know the steps or documentation that helps me out in achieving this?
    Regards,
    Raju
    Edited by: user080811 on Apr 18, 2013 12:12 PM

  • How to Show BI report in adf form ?

    How to show bi Report in adf form ?
    (i dont show dashboard in adf form

    Hi,
    check this : http://husaindalal.blogspot.com/2009/11/integrating-bi-publisher-standalone.html
    there are some other helpful links as well:
    http://brendenanstey.blogspot.com/2007/01/adf-faces-and-xml-publisher-success.html
    http://technology.amis.nl/blog/2296/building-a-report-in-xml-publisher
    http://technology.amis.nl/blog/1597/xml-publisher-display-input-parameter-sqllims
    ~Abhijit

  • Problems with custom search form in adf

    Hi,
    I am using JDeveloper 11.1.2.4. please can you help with this issue?
    I've created a custom search form with the help from this link.
    Jdeveloper,Oracle ADF &amp;amp; Java: Implementing custom search form in ADF programmatically (Without using af:query)
    I've created two bind variables SkuBind & ImperfectBind and a View Criteria.
    My problem is when I press Search button, it does not filter based on values of the bind variables in the View Criteria.
    I rightly get bind variable values in the System output though
    Skubind = 1000
    Imperfectbind = N
    but there is no where clause
    where clause = null
    public void SearchOddShoes(ActionEvent actionEvent) {
    AppModuleImpl am = (AppModuleImpl)resolvElDC("AppModuleDataControl");
    ViewObject oddShoeVo = am.getRtnOddShoesVO1();
    oddShoeVo.setNamedWhereClauseParam("SkuBind", skuPgBind.getValue());
    oddShoeVo.setNamedWhereClauseParam("ImperfectBind", imperfectPgBind.getValue());
    System.out.print("Named Skubind = " + oddShoeVo.getNamedWhereClauseParam("SkuBind") +"\n");
    System.out.print("Named Imperfectbind = " + oddShoeVo.getNamedWhereClauseParam("ImperfectBind") +"\n");
    System.out.print("where clause = " + oddShoeVo.getWhereClause()+"\n");
    System.out.print("where clause params= " + oddShoeVo.getWhereClauseParams()+"\n");
    System.out.print("Sql is " + oddShoeVo.getQuery()+"\n");
    oddShoeVo.executeQuery();
    public Object resolvElDC(String data) {
               FacesContext fc = FacesContext.getCurrentInstance();
               Application app = fc.getApplication();
               ExpressionFactory elFactory = app.getExpressionFactory();
               ELContext elContext = fc.getELContext();
               ValueExpression valueExp =
                       elFactory.createValueExpression(elContext, "#{data." + data + ".dataProvider}", Object.class);
               return valueExp.getValue(elContext);
    thanks

    Not clear what part of the code doesn't work. Assuming that you did check that the code you wrote executed
    the problem may be the following.
    You need to add partial trigger on the destination component.
    Add ...
    oddShoeVo.executeQuery();
    AdfFacesContext.getCurrentInstance().addPartialTarget(HERE_THE_BIND_NAME_OF_YOUR_TABLE);
    Also I don't see that you acctually use View Criteria. There are specific way to apply View Criteria programatically and I don't see that you use it.
    The simpliest way is just to change the VO query to embed bind variables into the query
    E.G.
    select 1
    from dual
    where some_column= :P_PARAM1

Maybe you are looking for

  • ADF - use of selectOneRadio to programmatically display or hide other comps

    Hi guys, I am totally new to ADF and will appreciate any help that you can give me. This has to do with the selectOneRadio component and then some. I currently have an ADF jsp form with values that are bound to the underlying entity. The page also ha

  • Saving Files in PDF using third party plugin

    I have been using the Office 2007 plugin "save as PDF" to convert all my office documents to PDF format. However, after upgrading my reader version to 9.0, each time I try to convert a document, the output is a jumbled list of words with no structure

  • How to store the rich formated text and screendumps in Oracle database

    Hi, I will create an FAQ management system. Users can log into the system, search and view the FAQ and answers. To be intractive, the users can also create new FAQ and add the comments on FAQ answers. The FAQ answers have rich formated text and the s

  • Jco error RFC adapter field PT F not defined

    Hi Experts, I am in a strange situation as I have become clue less on this issue It is a file to XI to RFC scenario.. runs fine in dev environment When I change the parameters in teh rfc communication channel  to point to QAS it throws Message proces

  • Challenging Message Mapping Question

    Hi, I have a source XML: <root>    <record>       <itemA>          <id>1</id>       </itemA>       <itemB>       </itemB>       <itemA>          <id>2</id>       </itemA>       <itemA>          <id>3</id>       </itemA>       <itemB>       </itemB>