cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anthonys123
Helper IV
Helper IV

Using choice of two Action.Submit buttons to submit and update column in SPO Item.

My flow is for tracking inventory. At the end of the Teams adaptive card, the user can choose: Shipment Inventoried or Item Sold. What's the most efficient way to update a choice column in a SPO Item to Inventoried or Sold?  

The adaptive card is a form with numerous fields to fill out. These entries are collected and followed by Update Item in my workflow. I could created a control of If Inventoried, then X or If Sold, then Y but that seems a bit complicated and messy. I'm sure there's a solution I have yet to work with.

I'm unaware of how to extract Inventoried or Sold form the ActionSet. I would think I could Compose the result of the ActionSet then use that variable in the Update Item column. 

Perhaps Action.Submit isn't the best way to do this in Flow but it's the best action to present the user in the Adaptive Card. 

 

{"type": "ActionSet""actions": [ 
{
"type": "Action.Submit",
"title": "✓ Shipment Inventoried",
"id": "inventoried"
}, 
{
"type": "Action.Submit",
"title": "✓ Item Sold",
"id": "sold"
}
}  
 
Screen Shot 2021-11-18 at 12.00.04 PM.png
Screen Shot 2021-11-18 at 12.00.19 PM.png
0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,261)