Transfering data from one Sharepoint list to another - attachments, updates and multiple choices

Kerlyne Dejean 1 Reputation point
2021-06-01T02:39:55.913+00:00

Hello,

I'm trying to keep my automation formula very simple. Here is what we are trying to achieve. We have two Sharepoint lists. One list is where users can fill out the form and review their requests and the other list is where administrators can evaluate the requests. I can't go into details of the data that is being transfered but my flow is simple : When an item is created > Get items > Create item > Get attachements > Apply to each ( Get content of the attachment > Add attachement)

What I need and what my simple flow isn't doing right now

  1. Not copying multiple choices from USER list to ADMIN list
  2. Not updating the USER list and Admin list if the user switches out an attachment or changes something in his form

How would my flow need to look like in order to transfer what my Admin need to evaluate the data from the form in the USER list (which includes multiple choice values, automatic user updates, attachement and updated attachments. A detailed screen grab of how the flow looks in PowerAutomate would definetly help.

Thanks

Microsoft 365 and Office SharePoint For business Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,316 Reputation points
    2021-06-02T03:16:08.36+00:00

    Hi @Kerlyne Dejean ,

    Welcome to Q&A Forum!

    Please following steps:

    1.Create two lists named "USER" and "ADMIN"

    101537-1.png

    2.Create MS Flow

    a.Add "When an item is created" trigger

    101548-2.png

    b.Add "Initialize variable" action

    • Name: varChoice
    • Type: Array

    101549-3.png

    c.Add "Append to array variable" action

    • Name: varChoice

    101514-4.png

    d.Add "Get attachments" action

    • Id: ID from "When an item is created"

    101515-5.png

    e.Add "Create item" action

    • Multi-Choice: varChoice from "Variables"

    101553-6.png

    f.Add "Get attachment content" action

    • Id: ID from "Create item"
    • File Identifier: Id from "Get attachments"

    101575-7.png

    g.Add "Add attachment" action

    • Id: ID from "Create item"
    • File Name: DisplayName from "Get attachments"
    • File Content: Attachment Content from "Get attachment content"

    101577-8.png

    The full flow:

    101516-10.png

    3.Test and Save this flow.

    101578-newitem.gif

    Thanks,
    Echo Du

    =======================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.