/**
         * This scenario demonstrates how to check if a document is concluded, approved, refused or signed
         * and the status of it's flow actions.
         */
        public override async Task RunAsync()
        {
            var result = await CreateDocumentAsync();

            // 1. Get the document's details by it's id
            var details = await SignerClient.GetDocumentDetailsAsync(result.DocumentId);

            // 2. Check if the whole flow is concluded
            if (details.IsConcluded)
            {
            }

            // 3. If needed, check the status of individual flow actions
            foreach (var flowAction in details.FlowActions)
            {
                if (flowAction.Status == ActionStatus.Completed)
                {
                }
            }

            /**
             * NOTE:
             *
             * The best way to know the exact time a document's flow is concluded, signed, approved or refused is by enabling a webhook in your organization on the
             * application. Whenever the flow of a document has one of these steps done, the application will fire a Webhook event by
             * sending a POST request to a registered URL.
             *
             * You can find below an example of the handling logic of a webhook event.
             *
             * Access the following link for information on available Webhook events:
             * https://dropsigner.com/swagger
             */
        }
        /**
         * This scenario demonstrates how to notify participants
         * of the flow.
         */
        public override async Task RunAsync()
        {
            // 1. Get a document Id
            var result = await CreateDocumentAsync();

            // 2. Get the document details
            var details = await SignerClient.GetDocumentDetailsAsync(result.DocumentId);

            // 3. Notify each participant individually if necessary
            //    Note: Only participants with pending actions are notified.
            foreach (var flowAction in details.FlowActions)
            {
                await SignerClient.SendFlowActionReminderAsync(result.DocumentId, flowAction.Id);
            }
        }