0

I would like to pass an ID as a filter via REST api using call http webservice action in SP Workflow.

The workflow should trigger the action (the web service) and return a field value from another list on same web(site).

Is this achievable? Any other solution to achieve this?

Thanks in Advance.

  • Yes , this is possible in workflow. do you have a lookup in your second list from first list? – Ganesh Sanap Oct 26 '18 at 6:50
  • No lookup.I just want to pass an id to filter to retrieve a single value – naijacoder Oct 28 '18 at 22:04
  • If you want to retrieve only single item then you don't need to use REST call. I think there is another action to get the single field from another list. – Ganesh Sanap Oct 29 '18 at 2:47
  • Thanks Ganesh. Any resources online you can point me to? Cheers – naijacoder Oct 30 '18 at 5:09
0

If you want to get the single field from another list by passing filter value then you don't need to use the "Call HTTP web servie" action.

You can get the value of field using "Set workflow variable" action. Follow the Steps given below:

  1. Add "Set workflow varibale" action in your workflow.
  2. Click on value and then fx.
  3. Select Data Source to your another list.
  4. Select the field you want to retrieve from Field from source dropdown.
  5. When you select the data source to another list, it automatically adds on more block on the set workflow variable popup as Find the List Item.
  6. In this block, you can add you filter to retrieve the specific item from another list.
  7. Select the Field from dropdown on which you want to add the filter.
  8. Pass the the filter value in value section, either a hard coded string or you can pass varibales as well using fx.

Here is an example of how to set the workflow variable from another list.

  • have you tried this? – Ganesh Sanap Nov 15 '18 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.