Approve and Reject Button on InfoPath form that will automatically update task - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Approve and Reject Button on InfoPath form that will automatically update task

Last post 03-21-2018 02:44 PM by sajan. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 04-03-2013 08:20 PM

    Approve and Reject Button on InfoPath form that will automatically update task

    i have a InfoPath 2010 form with many repeating tables. i used out the box sharepoint 2010 content approval workflow action in my workflow. this action is going to create a task for the approver. Is there a way i can show that approve/reject button on my infopath form ribbon so that approver can see the form and approve from same window. doing so, it should update the task as completed. Please help.
  • 04-03-2013 11:30 PM In reply to

    Re: Approve and Reject Button on InfoPath form that will automatically update task

    Hello,

    Firstly,You need 2 important Dataconnections ;

    ProcessFlexiTaskResponse

    GetrunningWorkflowTaskforCurrentuserid 

    In the form Of course you need to create 2 buttons; 1- Approve 2-Reject

    So We have to a write a rule for these buttons;

    For Approve button;The rule is Action type

    set a field's value:SpTaskID=SharePointTaskId         (SptaskID comes from ProcessFlexiTaskResponse Query fields) and (SharePointTaskID comes from GetrunningWorkflowTaskForCurrentUserid under UserTask )

    set filed's value:outcome='Approve'    

    set field's value:taskListName='WorkFlow Tasks'

     Query Using Data Connections:ProcessFlexiTaskResponse

    Submit using DataConnection

    For "Reject" Button The rule is same as "Approve"'s rule just change;

    outcome='Reject'

     

     

     

     

     

     

  • 04-04-2013 06:07 AM In reply to

    Re: Approve and Reject Button on InfoPath form that will automatically update task

    are these data connections for nintex? or this can be created for infopath too?
  • 04-11-2013 10:35 AM In reply to

    Re: Approve and Reject Button on InfoPath form that will automatically update task

    yeah..just for ninte
  • 03-21-2018 02:44 PM In reply to

    • sajan
    • Not Ranked
      Male
    • Joined on 12-19-2017
    • Posts 14

    Re: Approve and Reject Button on InfoPath form that will automatically update task

    how do you work if no rejecting form?
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.