Automatically Submit Start Button on Worklfow Page

Is there a way to force the "Initiation" form of a workflow to click the "Start" button?
What I really want is to use a "Custom Action" on a list to start the workflow without having to go to the first page where the Start button is.
David Jenkins

Hi David,
According to your description, my understanding is that you do not want to redirect to the workflow start page.
Here are two ways for your reference:
1. You can create a JavaScript function and call the function when clicking the button in the ribbon.
function StartWorkflow(ItemURL, ItemID) {
var loadingImage = ‘Loader’ + ItemID;
var workflowDiv = ‘WorkflowDiv’ + ItemID;
//Show our loading image
document.getElementById(loadingImage).style.visibility = ‘visible’;
$().SPServices({
operation: "StartWorkflow",
item: ItemURL,
templateId: "{04ee1c93-f6b7-49b3-a79c-fa3142ecd688}",
workflowParameters: "<root />",
completefunc: function() {
document.getElementById(workflowDiv).innerHTML = ‘Workflow Started’;
Mor information, please refer to the link:
http://spservices.codeplex.com/wikipage?title=StartWorkflow
2. You can create a ribbon button using visual studio 2010 and start workflow using C# code.
http://blogs.msdn.com/b/jfrost/archive/2009/11/06/adding-custom-button-to-the-sharepoint-2010-ribbon.aspx  
http://jainnitin2411.wordpress.com/2012/07/06/programmaticallystartsharepointworkflow/
I hope this helps.
Thanks,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support

Similar Messages

  • BeehiveOnline quick start button results in "Page Not Found"

    I am a sponsor of a Beehiveonline group. This group contains oracle and non-oracle members.
    Oracle group members (with Oracle id) can access this group, however, our partners have
    partial access. Please note that all the partners have valid account on OTN. Our partners
    can access the main beehiveonline page, they can also browse the other helpful links. However,
    when they press "start" under quick start, it results in "page not found" error. All the partners
    are facing this issue. THey have tried various browsers and PC but they can't get to group
    workspace.
    Please help.

    Hi,
    Send the group details and the problem user list to [email protected] and we will investigate.
    Phil

  • Distributed form missing "automatic" Submit Form button

    I am going crazy and running out of time.
    I created a form in Acrobat.  I distributed the form using SharePoint.  It worked great.  For me and my test user.  I sent the distributed file to my boss so she could try it and there was no Submit Form button.  The purple forms bar was there; Highlight Fields was there; there was no Submit Form button.  I tried it on another user's computer and no Submit Form was there.  I tried it on our terminal server with a test user (set up like a standard user), and there was a Submit Form button.  I tried it on a computer outside our network and no Submit Form button was there.  I also had my boss try it in the terminal server (known working computer) and no Submit Form button was there.
    I have looked around the net and found a JavaScript reference that hid a Submit Form button, but that is a different, ugly, email-only button meant for backwards-compatibility.
    This is so effing frustrating.  I can't find a single reason the Submit Form button will show up for some and not others.
    I submitted it via e-mail.  I open it within Terminal Services, logged in as me, and the Submit button wasn't there.  I open it with my Test user (a standard user, not admin or anything) and the Submit button is there.  I open it on my local machine and the Submit button is there.  WTF IS GOING ON, ADOBE???  I am so frustrated right now.

    On this machine I only have AA5. I was able to open the first form, but saw no submit button anywhere. The second form would not open. I might try it with AA7 a bit later (the only versions I have at home).
    I was able to check the various radio buttons and type in the text boxes. The text boxes seem to wrap correctly.
    I assume folks will be fine with the exceeds expectations being on the left. In many surveys, the best is on the right and not on the left. However, I am not sure there is any standard for that and you have been consistent. I was wondering how you were going to take care of the signatures. It looks like you are going to do them by hand - I guess the advantage is that all the signers would see the entire evaluation before signing. The alternative would be to introduce digital signatures in some sense, possibly using the Acrobat route.
    Again, I see no submit button. Bill

  • How To Create On Submit Button For Master_detail Page ?

    I have adf page that is master And detail view.
    i want to have one submit button for master and detail block

    Duplicate of  How To Create On Submit Button For Master_detail Page ?
    Please don'r post your question multiple times.
    Timo

  • Is it possible to remove the submit form button that's automatically created when you distribute a form?

    I have created a form for my boss and distributed it. She doesn't want the submit form button to appear as people don't need to submit the form to anyone, just fill it in and keep a copy. I can't figure out how to remove this button. It's not one I've created, it's the one that it automatically generates when you don't have a submit button in your form. Is it possible to remove this button or do we just have to live with it? I am using Adobe Acrobat X Pro.
    Thanks

    You can have more control on the email subject/ to and CC Email address, if you use a regular button and place the code in the click event.
    Refer to the attached sample below.
    https://acrobat.com/#d=HouRLov3lOntSbqAfsr5Hg
    Thanks
    Srini

  • "Submit Form" button automatically created when opening form in non-adobe program

    I tried browsing the forum for a solution to getting rid of this annoying automatic button but got nothing. It gets generated on the body of the form (top right) when I publish for distribution using any method for collection. I'm using pdf expert 5 to fill and submit forms because adobe reader doesn't do what I need how I need it. Everything is perfect except for that annoying submit form button that specifies submitting by email because 'user is not using reader or acrobat version whatever'.
    Anyone know how to get rid of this button?
    Thanks!

    Yes, that is correct.
    I did not manually add this button, so I am assuming it was somehow automatically created.
    It worked great up until now that I need to change the "To:" email address.
    I've look through the XML code associated this this email address and changed it every where I could find it, but it still hasn't changed my results.  So, I have no idea how to change this and as stated above, if I create a new form it automatically sets it up to be sent to the wrong email address.  Not sure why or how to change it?
    Let me know if you need further info to help me out.
    Thanks again

  • My start button and desk top menu keep relocating themselves to top, and sides, How do I get them back on the botom of the page and keep them there?

    When I initialize my start up, and my home page loads, my start button, short cut icons, and desk top menu will move from the bottom where I prefer them, to the top, or left and tight sides, which shortens my home page, or any site I go to. How do I lock them in to the bottom and keep them there. This has just started in the past 2 weeks.

    Drag the Taskbar with the Start button to the wanted position and right click that bar the lock it to prevent accidental moving it.

  • Interactive Report - Go button perform a page submit?

    Hi,
    Is it possible to obtain a normal page submit when the Go button in Interactive Report is submitted?
    I would like a normal page submit as this is the reliable way to have my different check boxes and select lists saved. These checkboxes and select lists act as bind variables in the IR query, and I do not get reliable results without the page submit. You may for instance experience that the report output looks ok according to your selections, but when you then download to excel, the report content reflects the true session state values.....
    Alternatively is it possible to remove/hide the Go button? I could then add a normal button to perform the page submit. I just do not like to confuse my users with two buttons..... for the same purpose....
    Best regards,
    Jesper

    Hi,
    With jQuery you can easily change that button attributes.
    E.g. set button to submit page, add below to page HTML header
    <script type="text/javascript">
    $(function(){
      $('.apex_finderbar_left .formlayout td input[value="Go"]').removeAttr("onclick");
      $('.apex_finderbar_left .formlayout td input[value="Go"]').bind('click',function(){
        doSubmit('MYREQUEST');
    </script>If you like hide button, add to page HTML header
    <script type="text/javascript">
    $(function(){
      $('.apex_finderbar_left .formlayout td input[value="Go"]').hide();
    </script>Remember load jQuery javascript library also.
    Here is one guide how install jQuery
    http://www.danielmcghan.us/2008/06/jquery-in-application-express.html
    Br,Jari

  • Big trouble with multiple forms in a page and submit - commit buttons

    Hi
    Thank you for reading my post
    I have created a menu system based on a sample 61 at
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    so , on each page i have a form that contains my menu system , when i add second form to this page by using drag and drop , its submit / clear button works but Commit button does not change to Enable and stay disabled.
    I change the Disabled property of Commit button to true but it does not operate (does not store data into DB)
    I tried my work on a page without those menu system and it works fine.
    so i think there should be some tricks for pages that contain more than one form and has a Commit button.
    can some one clearify ?
    thanks

    Can it be a problem with my whole application ?
    I tried other applications with same condition and they workd :((
    even i made a new page in my application and put only one form into it , the commit button is turned off for ever :((
    is it possible that i touched some configuration and commit become permanently disable ?
    it will be huge pain if i need to create the project skeleton again , it has more than 20 pages and all navigations and mune system is set :>
    any clue ?
    I should say that , Jdeveloper hanged once and i kill its process, can that be the source of problem ?

  • Welcome page, one start button, two outcomes

    hi,
    I have a welcome page with a Start button which is the first page after authentication. If the user is logged in as roleA then next page after start button is pressed should be pageA and if user is logged in as roleB then next page should be pageB. User data are bound to userInfo managed bean in session scope which has methods isRoleA(), isRoleB() and getUserRole(). How can I bind this start button to achieve this (if possible with code sample)

    Can't you just code the method for the button to ask for the value of the role and based on the result return one of two navigation cases that you use in your faces-config.xml flow?

  • GET STARTED button in Download Center links to blank page

    When I click on the 'Get Started' button in the Download Center the resulting page is blank.

    Image not geting set on multiple group exactly how u want

  • Get started now button to this page, your thoughts?

    Hi,
    I was thinking about adding a very large "get started now" button to this page Custom Website Design, what do you think?
    Thanks,
    Stefan
    Web Designer / Developer
    Website Search Engine Optimization Expert
    Blue Barn Graphics
    www.bluebarngraphics.com

    BBG,
    You may find it gross, but  the silver rimmed shape that points into the flow of the curved graphic part may be turned into a button with slightly curved text that blends in but not too much.
    Apart from that, the hurricane blowing in the letters upon first opening deserves repetition.

  • After clicking on an open tab, how to make the focus automatically go to the body of page?

    After clicking on an open tab, how to make the focus automatically go to the body of page?
    Right now, clicking in an open tab and using arrow keys now moves through the open tabs. I liked the old versions where right after clicking in a tab you could directly go to navigate the page with the arrow keys.
    Is there a something I can change in about:config to change this behavior?
    Thanks in advanced.

    Firefox should still set the focus the the browser area if you click a tab.<br />
    Only with very old browser versions you could set the focus to a tab by clicking a tab.
    This behavior is likely caused by an extension.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Automatically press a button

    hey
    Im using jdeveloper 11.2.3
    Im trying to display a graph
    the graph must be based on a table
    the table is based on a web service
    The only thing makes sense is crating a form- making it somehow invisable and a creating button should be automatically pressid when loading the page
    Does anyone know how do I automatically press on button?
    (on btw- how to make a form invisible?)
    Im a begginer.

    Hold on, before going forward in htis direction...
    Why do you use a hidden button for this? Bounded task flows can have a method from a bean as start activity. In this start activity you do whatever you have to setup the data you want to show.
    No queuing of an action to a hidden button. This is not a best practice as it is not maintainable.
    Timo
    P.S.: To bind the button to your bean you open the property inspector of the button in the page, go to the 'Advanced' node and click the small arrow down on the right hand side of the 'Binding' property. Here you specify the bean and the property name. Then in the bean you
    RichButton btnSubmitForm; // this is generated when you add the property from the inspector together with getter and setter method
    ActionEvent event = new ActionEvent(btnSubmitForm);
    event.queue();But you still should be using a bounded task flow with a method activity as a start activity.

  • Multiple buttons in jsp page

    Hi to all
    afteradminlogin.jsp:--
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
          <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <h4>Select your Department</h4>
    <br>
    <html:link forward="adminbooks">Java</html:link>
    <br>
    <br>
    <html:link forward="adminbooks">.Net</html:link>
    </body>
    </html>in this page when we click on java link it has to move to the adminbooks .but it is not moving it is showing empty page in that place
    adminbooks.jsp:--
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
          <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <input type="hidden" name="method">
    <h4>Welcome To Selection</h4>
    <table border="1">
    <tr>
    <th>
    sno
    </th>
    <th>
    Book Name
    </th>
    <th>
    Author
    </th>
    <th>
    Available No.of Books
    </th>
    <th>
    Select
    </th>
    </tr>
    </table>
    <html:submit name="add" value="add" >Add</html:submit>
    <html:submit name="edit" value="edit">Edit</html:submit>
    </body>
    </html>in this above jsp page i am using two buttons .in this page when we click on add button it has to go to another page and after submit that page that data has to add the the above table how can done that one
    where add button jsp page
    adminaddbooks.jsp:--
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
        %@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <br>
    Book Name <input type="text" name="bookname">
    <br>
    <br>
    Author <input type="text"  name="author">
    <br>
    <br>
    Available No.of Books <input type="text" name="availablebooks">
    <br>
    <br>
    <input type="submit"  value="submit" name="submit">
    </body>
    </html>strutsconfig.xml:--
    <struts-config>
        <form-beans>
        <form-bean
               name="AdminForm"
               type="org.struts.library.admin.AdminForm">
    </form-beans>
    <global-forwards>
    <forward   
                     name="userlogin"
                     path="/Logon.do"/>
            <forward
                     name="adminlogin"
                     path="/adminlogin.do"/>   
           <forward name="adminbooks"
                    path="/adminbooks.do"/>         
            <forward
                name="home"
                path="/home.do"/>
        </global-forwards>
    <action-mappings>
    <action
             path="/adminlogin"
             forward="/pages/adminlogin.jsp"/>
             <action
                  path="/adminaction"
                  type="org.struts.library.admin.AdminAction"
                  name="AdminForm"
                  scope="request"
                  validate="true"
                  input="/pages/adminlogin.jsp">
             <forward   name="success"
                        path="/pages/afteradminlogin.jsp"/>
             <forward    name="failure"
                         path="/pages/adminlogin.jsp"/>
                         </action>        
                  <action path="/adminbooks"
                         type="org.struts.library.admin.AdminBooksAction"
                        forward="/pages/adminbooks.jsp">
                  <forward name="add"
                          path="/pages/adminaddbooks.jsp"/>
                  <forward name="edit"
                           path="/pages/admineditbooks"/>
                         </action>                           
                  </struts-config>

    if you link to an action doesnt work then maybe your action is wrong but you didnt post it.
    You cannot submit a form if you dont use a form in your code
    Other general advice:
    Study Struts better and make sure you know HTML/JSP
    Get an example running and then start with a simple "Hello Struts" test with an Action that doesnt do much

Maybe you are looking for

  • IPod Classic not syncing // iTunes crashing (iTunes 10.7)

    A couple of days ago I restored my iPod as there were tracks that weren't playing. After restoring i'm unable to sync my iPod again...i've never had this problem before. I'm getting various error messages, some examples are :: 'The iPod cannot be syn

  • Account assignment defaulting to U after MRP run in Purchse requisitons

    hello, i have got one ticket the material is non valuated (UNBW)- when MRP is run - purchase requisitions are getting generated as having default acount assignment category "U". This is creating problem in automatic creation of PO as U category is no

  • How to linked to Oracle Applications from another program

    I'm developing a program that linked automatically to Oracle Applications, but I have a problem when linked jsp page, for example Purchasing Super User -> Notifictaions Summary (http://host.mydomain.com:8000/OA_HTML/RF.jsp?function_id=2781&resp_id=20

  • 10g ftp interface seems to mess up embedded namespaces

    We have XML documents that are being inserted and retrieved using the resource_view without incident. However, whenever we retrieve these same documents through either the FTP or WebDAV interfaces, the documents come back with embedded namespaces mes

  • Corporate resellers in Spain

    I can't fin the actual corporate reseller of Apple in Spain. I found that information but only about EEUU, and América latina, but I couldn´t in Spain