View resource links in a form
This procedure describes how to view your resource links using a form in a workflow.
Before you begin
Activities can be inserted at both the workflow and subprocess levels.
Procedure
- Create a form and configure it as follows:
- Add a control to use to view the resource link information.
- In the Forms Designer, click the Parameters tab, add an input parameter to the form, and then configure the properties required.
- Bind the ItemSource property of the control to an attribute of the input parameter, and then click Save.
- Create a workflow that will be used to view resource links.
- On the activity configuration panel, click Configure Method. The Configure Method dialog box appears, displaying a list of the available call method service providers.
- Double-click IResourceLinking to display the list of available call methods.
- Click QueryCurrentResourceLinks, and then click Finish.The input parameters appear in the activity configuration panel.
- Configure the query.
To query by... Then... resource link name In the Resource Link Name field, enter the name of the resource links. This query returns all resource links with this name. source resource In the Source Address field, click the ellipsis button and select the source resource. The query returns all resource links with this source resource. target resource In the Target Address field, click the ellipsis button and select the target resource. The query returns all resource links with this target resource. - Insert a form activity after the call method, and then configure it as follows:
- Click Save.
- Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.