Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Process Mining
Answered

Attribute type "first event" and "last event"

(1) ShareShare
ReportReport
Posted on by 19

Hi Community, 

 

After a recent update, the atribute type list for imported process mining data has been updated.

Specifically "Case level attribute" becomes "Case level attribute (first event)" and "Case level attribute (last event)". 

I could not find Microsoft Learn documentations explaining the differences between the two. 

 

Any help would be appreciated 🙂 

 

Argent_0-1706778293521.png

 

 

 

  • Argent Profile Picture
    19 on at
    Re: Attribute type "first event" and "last event"

    Very clear explanation. Thank you! 

  • Argent Profile Picture
    19 on at
    Re: Attribute type "first event" and "last event"

    Thanks for the thoughts! It turned out to be correct 🙂 

  • Verified answer
    JK_msft Profile Picture
    Microsoft Employee on at
    Re: Attribute type "first event" and "last event"

    Hi @Argent,

     

    sorry for missing documentation for this new feature. I will submit the request for adding it.

     

    The logic is that you can't always ensure at the input that all events within the case have the same value of the case-level attribute. It may happen that the value of the case-level attribute is available only in the first event or in the last one. According to this setting, we then decide whether to take the value of the case-level attribute from the first or last event. If it is already ensured at the input that all events within the case have the same value of the case-level attribute, then it does not matter which of the options is selected.

     

    Here is an example where Price (case-level attribute) is the same for all events (top table) or is determined according to the first (right table) or last event (left table). In all three cases, the result is the same despite other input data.

     

    Jan_msft_0-1711008293422.png

     

  • Verified answer
    christianhalbig Profile Picture
    Microsoft Employee on at
    Re: Attribute type "first event" and "last event"

    Hi @Argent. I have (had) the same question. And this is what I think: As Case Level Attributes should be the same over all events (in the same case), you would need to select, which value it should take (from the first event, or from the last).

    Simplified example:

    Case NoActivityOrder Type
    0Invoice Entry5
    0Approve Invoice5
    0Payment5
    1Invoice Entry6
    1Approve Invoice6
    1Payment7

     

    Order Type should be the same over all cases. But maybe sometimes it's not. So you can choose in the drop-down if it should take the value from the first or the last event in case the values are different. If it varies often, then you should consider selecting Event Level Attribute.

     

    As I said, I don't know for sure. But it kinda makes sense to me.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Process Mining

Overall leaderboard