> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/lead-assignment-and-distribution-automation/features/automatic-assignment-on-update/classic-workflow.md).

# Classic Workflow

To enable automatic assignments on the update, follow the steps given below:

* Create a workflow that will trigger on change of the field (e.g. Status Reason).

<figure><img src="/files/-MZK5mo71ZYAq8WCs5_W" alt="Classic Workflow"><figcaption></figcaption></figure>

* If required add condition to check and run assignment only if your criteria meets. For the demo purposed, we had used condition to check if Status Reason is Ready.

<figure><img src="/files/-MZK5seh1UdFITC3YRHk" alt="Classic Workflow"><figcaption></figcaption></figure>

* **Get the GUID of the record:** Add workflow assembly to get the GUID of the current record. Download and install [Dynamics 365 Workflow Tools Solution 1.0.60.1](https://github.com/demianrasko/Dynamics-365-Workflow-Tools/releases/tag/1.0.60.0) managed solution in your environment. This managed solution provides assembly called **‘msdyncrmWorkflowTools: Get Record ID’** to get the GUID of the record.

<figure><img src="/files/-MZK65E6KyRy_gPAjiWg" alt="Classic Workflow"><figcaption></figcaption></figure>

* You would need to pass the Record URL from current lead to Record URL parameter.

<figure><img src="/files/-MZK6L9_YMnwP6U13Vax" alt="Classic Workflow"><figcaption></figcaption></figure>

* This step will return the GUID of the current lead record.
* Call **‘Inogic.AddItemsToQueue’** action of Inogic --> Add **‘Perform Action’** step --> Select **‘Inogic.AddItemsToQueue’** action. This action is already available in the Lead Assignment and Distribution Automation solution.

<figure><img src="/files/-MZK6QkFk155a38lNubO" alt="Classic Workflow"><figcaption></figcaption></figure>

<figure><img src="/files/-MZK6lt7QLLNWGlbic9m" alt="Classic Workflow"><figcaption></figcaption></figure>

* Pass **PrimaryEntityName** and **PriamryEntityID** as Logical name of the entity e.g. lead, incident etc. and **‘GUID of the record return by the msdyncrmworkflow tools step’** respectively. This action will perform automatic assignment based on the Assignment Rules.&#x20;

<figure><img src="/files/-MZK6vU7tx3Q3Z2LsLQs" alt="Classic Workflow"><figcaption></figcaption></figure>

* **Save and Activate** the workflow. The final workflow will look as below:

<figure><img src="/files/-MZK7-fhSFIwP4NSo9JB" alt="Classic Workflow"><figcaption></figcaption></figure>

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.inogic.com/lead-assignment-and-distribution-automation/features/automatic-assignment-on-update/classic-workflow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
