Skip to content

Approval Scenario using universal action in Adaptive card - C# #144

@Wajeed-msft

Description

@Wajeed-msft

Sample description

End User Scenario:

  1. User and manager installs App to a group chat.
  2. User send bot command to initiate approval request.
  3. User submits the request by filling details in Adaptive card.
  4. Manager gets bot notification for approval.
  5. Manager can approve/reject request from bot message itselft.
  6. User gets notified for status change.

Developer Scenario:

  1. Handle "raise approval request" commad in bot.
  2. Send Adaptive card response having Universal Action for Submit.
  3. Manager should see option to approve/reject and user should see option to edit or cancel by using up to date views.
  4. Once approved/rejected by manager, card should be updated with latest status for approval.

Docs Ref:
Universal Actions for Adaptive Cards

Are you willing to help?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    C#Sample code languagenew sample ideaRequest or submit an idea for a new community sample

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions