ProcessActivity.Reason
----------------------

Queries the reason text.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Process](component_Process.md) | [5.2](newinversion52.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ✅ Yes |

MBS( "ProcessActivity.Reason"; ProcessActivityID ) 

**MBS**( **"ProcessActivity.Reason";** /\* Queries the reason text. \*/  
**$ProcessActivityID**) /\* The process activity reference number as returned by [ProcessActivity.beginActivity](ProcessActivitybeginActivity.md) function.e.g. $ref \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ProcessActivityID | The process activity reference number as returned by [ProcessActivity.beginActivity](ProcessActivitybeginActivity.md) function. | $ref |

### Result

Returns text or error.

### Description

Queries the reason text.  
### Examples

Query reason of first activity:

 MBS ( "ProcessActivity.Reason"; "39001" )  
### See also

- [ProcessActivity.beginActivity](ProcessActivitybeginActivity.md)
- [ProcessActivity.List](ProcessActivityList.md)
- [ProcessActivity.Options](ProcessActivityOptions.md)

This function checks for a license.

Created 2nd June 2015 , last changed 17th December 2022

  
[ProcessActivity.Options](ProcessActivityOptions.md) - [ProcessActivity.beginActivity](ProcessActivitybeginActivity.md)

[HTML Version](ProcessActivityReason.shtml)