web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Store email address of...
Power Automate
Unanswered

Store email address of last editor for re-use in next workflow

(0) ShareShare
ReportReport
Posted on by

I have a working Flow, triggered when a SP list item is updated. It checks if status field value is = "completed" and if yes, sets the status to "pending tracker update" and sends a notification email to the person who tracks completion of items.

 

Once the tracker is updated (manually, automation of this step is not straightforward for several reasons), the person sets the status to "tracked" and provides a tracking ID.

 

So far so good, but now I want to notify the original submitter (not the "Created by", but the "Modified by" who set the status to "completed", unlikely the same person). I've added a column to the SP list called "Submitter" and wanted to populate it with the "Modified by" email address at the same time I update the status to "pending tracker update".

 

I tried with a person field and with a single line of text field in the SP list, but to no avail. I either only get a field Submitter Claims with no dynamic content available (person) or an error that the email attribute is not possible with data of type string.

 

I tried with the Compose action but couldn't figure it out. Any help is highly appreciated!

 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Could you please share a screenshot of your flow's configuration?

    Could you please show more details about your SharePoint list?

    Further, do you want to update the Submitter column with Modified By Email address when the Status field value is equal to "completed"?

     

    I have made a test on my side and please take a try with the following workaround:5.JPG

    Within the Submitter Claim field, type the Modified By Email dynamic content as a custom value.

     

    Note: The Status column is a Choice type column in my SharePoint list, the available values of it are pending tracker update, completed and tracked. The Submitter column is a Person or Group type column in my SharePoint list.

     

    The flow works successfully as below:6.JPG

     

    7.JPG

     

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    on at

    @v-xida-msftHi Kris, that's exactly how I have set it up. The Submitter column is a Person or Group column, but for some reason it can't store the Modified by Email value in there. I'm getting the following error:

     

    {
      "status"400,
      "message""A value must be provided for item.\r\nclientRequestId: 65883583-b9c0-473a-accb-6ba71b5b5a68",
      "source""sharepointonlineconnectionprovider-westus.tip0-westus.p.azurewebsites.net"
    }

     

    If I change the Submitter column to Single Line of Text, this works fine and it populates the field with the correct email address.

     

    However, since it is a text field, I can't use it in the subsequent workflow as an email address.

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Could you please share a screenshot of your issue?

    Could you please show a bit more about the value that you provided within the Submitter column?

     

    Please check if the email address that you provided within the Submitter field belongs to your Office 365 Organization (group) or SharePoint group. If you provided an email address which is not existed in you Office 365 Organization (group) or SharePoint group, I afraid the flow would fail.

     

    In addition, please check if you have filled proper values within other fields of your "Update item" action. Please also take a try to re-create your flow and then check if the issue is solved.

     

    Best regards,

    Kris

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    @v-xida-msftHi again, since my flow was exactly what you suggested and should work, I decided to delete it and start from scratch. This did the trick. But I'll never know what was wrong with it in the first place 😞

    Thanks anyway, I'll possibly consider again first starting from scratch (rather than scratching my head for hours) in circumstances where a flow behaves odd.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard