> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/forms/using-forms/working-with-parameters-passed-from-the-work-relay-process.md).

# Working with parameters passed from the Work-Relay process

{% stepper %}
{% step %}

## Configure the process parameter

Open [process](/processes/building-a-process/process-builder-overview.md). Click on needed step and choose Form as [step layout type](/processes/process-steps/process-step-settings/user-interface.md#step-layout-type). Define following parameter (1) to pass to the form.

Using **$Cursor** context object and **FORMAT()** function pass the current task due date to the form via following expression:

`FORMULA[FORMAT({$Cursor.DueDate}, 'yyyy/MM/dd')]`**.** Make sure you have set [duration](/processes/process-steps/process-step-settings/time.md) on process steps:

![](/files/9794ee22f02d9abd717b47098788414bf683593f)

{% hint style="info" %}
Both the process and the form in the example below is tied up to Account object.
{% endhint %}

For more information please refer following articles: [Working with $Cursor context object](/automations/queries-and-conditions/working-with-work-relay-context-objects/working-with-usdcursor-context-object.md) and [Using Functions](/automations/functions-and-formulas/introduction-and-usage.md).
{% endstep %}

{% step %}

## Select the form parameters context object

Open the form. Select **$FormParameters** context object (2) on context setting panel:

![](/files/808ac6330d1f89d01a49f7efc974cdb02c26dfc2)
{% endstep %}

{% step %}

## Add the parameter merge field

Enter parameter name (3) and copy merge field (4):

![](/files/701622dfcf974327cb6a7061171427ac723ba02c)
{% endstep %}

{% step %}

## Add static text to the form

Add "Static Text" option to the canvas. Provide field label (5) and paste merge field to the "Text" input (6):

![](/files/a0df5388464332758d3f9e1c0eff7650fad12726)
{% endstep %}

{% step %}

## Save and run the process

Save the form. Start the process and proceed it to the step that has form added as a step layout. Formatted Task Due Date (7) will be displayed on the form:

![](/files/17ad899cd23e6c9be8be6d8d1b78b741b4bf0d5d)
{% endstep %}
{% endstepper %}
