Workflow to create and populate excel sheet from sharepoint list - InfoPath Dev
in

InfoPath Dev

Workflow to create and populate excel sheet from sharepoint list

Last post 02-18-2012 02:16 AM by JamesWaddell. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-17-2012 02:44 AM

    Workflow to create and populate excel sheet from sharepoint list

    Hello,

    I have a complex infopath form for claiming payments. The claims are in a repeating table. 

    What is needed:

    Once the claim has been submitted, I need workflow to run weekly and monthly on every submitted submitted form, collect the payment information, compile to an excel sheet and email it to the pay master. This is to prevent pay master from getting email for every claim and having their mail box clogged.

    What I have done:

    1. I have created a string variable that extracts all the information that needs to be sent to the pay master from every form, and also if the person is to be paid monthly or weekly.
    2. I also created a list that will hold the information: Payment List
    3. Once the form has been approved for payment, I add this string variable to the list created above.

    What is left to do:

    1. I need to design a workflow that runs weekly, loops through the payment list and if the person is to be paid weekly, collects the payment information and add it as a line on an excel document, then remove that particular payment information from the payment list, and adds it to a new list called "Paid List".
    2. It should then send this excel sheet as an attachment to the payment master.
    3. 1 and 2 should also be done monthly for the monthly paid staff.

    Now, I need a way of achieving the above. I looked into creating a custom workflow, but it looks like I need to have the Sharepoint stored on my development machine and this is not easily achievable. Is there another way of achieving this? I am not afraid to code, but I need good guidance on how to start it.

    Thank you in advance!


  • 02-09-2012 04:47 PM In reply to

    • ChrisR
    • Not Ranked
    • Joined on 12-19-2011
    • Posts 4

    Re: Workflow to create and populate excel sheet from sharepoint list

    Hi,

     This may help you with looping through your list.  I'm currently trying to implement this technique to loop through a form library of mine and I can't seem to be able to get it to work quite yet, but it seems to be working for a lot of people judging from the comments it has gotten.

    http://sharepointsolutions.blogspot.com/2008/05/looping-through-items-in-sharepoint.html

  • 02-18-2012 02:16 AM In reply to

    Re: Workflow to create and populate excel sheet from sharepoint list

     

    So you mean apart from having sharepoint designer stored on my machine, i also need the sharepoint server?

    My company will sort out the licensing and I will tell you how i get along.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.