Skip to main content

Search

Copy 2 entries of a person/group field in a new list with 2 separate entries

Comments

5 comments

  • Official comment
    Matthias_Walter

    Dear Ingo_Bischofs,

    you would have to access the email property from the current item in the loop like this:

     

    By accessing [[Genehmiger.Email]] directly, it will give you a coma-separated string of emails in the case of multple persons which cannot be set into a person field.

    Kind regards
    Matthias

  • Ingo_Bischofs

    Dear Matthias,

    thanks for your quick response. It works!

    Thanks a lot and best regards
    Ingo

    0
  • Ingo_Bischofs

    Now I have an other issue:

    The list has a field called "Status der Genehmigung".

    There must be a check if all fields for the corresponding group must have the entry "genehmigt". If yes, then make an entry in the other document library for the corresponding file.

    I get the corresponding items, but what is the next step to check (in the example above) if all entries has the correct field value?

    0
  • Matthias_Walter

    Hi Ingo_Bischofs,

    I would see two possible solutions for this:

    1. Use two get items actions, first get all items this dok_id (as you do right now) and second get all items for this dok_id where the status is "genehmigt", then compare the two results which should be the same:
    2. Use a get items action where you filter on the dok_id and all with status not "genehmigt". If this is 0 then all are approved. But this approach is not as bullet proof as the other one, as it would also be true, when there are no items in the "Genehmigungsstatus" list

    Kind regards
    Matthias

    0
  • Ingo_Bischofs

    Hi Matthias,

    the first solution works fine.

    Thanks a lot and kind regards
    Ingo

    0

Please sign in to leave a comment.