# Update workflow docs

**URL:** <https://community.dynatrace.com/t/update-workflow-docs/42066>\
**Category:** Developer Q&A Forum\
**Created:** [October 12, 2023, 5:58pm UTC](https://community.dynatrace.com/t/update-workflow-docs/42066 "2023-10-12T17:58:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beigert](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/beigert/32/7422_2.png) [@beigert](https://community.dynatrace.com/u/beigert)\
**Post date:** [October 12, 2023, 5:58pm UTC](https://community.dynatrace.com/t/update-workflow-docs/42066/1 "2023-10-12T17:58:30Z")

</div>

In the [docs](https://developer.dynatrace.com/develop/functions/create-function/#from-notebooks-or-workflows) code example:

```

import { functions } from ‘@dynatrace-sdk/adhoc-utils’;

const response = await functions.call(‘my.app.id’, ‘hello-world’, { username: ‘john’, fruits: [‘apple’, ‘orange’] });  
```

suggest that `adhoc-utils` `functions.call` doesn’t not&nbsp; required `.then((res) =\> res.text());` like 2 previous code examples. However in the run time this transformation is required.

I suggest to update this code example

---

<div class="post-metadata">

**Author:** ![sinisa\_zubic](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sinisa_zubic/32/32498_2.png) [@sinisa\_zubic](https://community.dynatrace.com/u/sinisa_zubic)\
**Post date:** [October 13, 2023, 7:34am UTC](https://community.dynatrace.com/t/update-workflow-docs/42066/2 "2023-10-13T07:34:09Z")

</div>

Hi&nbsp;[@beigert](https://community.dynatrace.com/user/59122)

Thanks for reporting this. I will update the code example.

Best,  
Sini

---

<div class="post-metadata">

**Author:** ![beigert](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/beigert/32/7422_2.png) [@beigert](https://community.dynatrace.com/u/beigert)\
**Post date:** [October 13, 2023, 7:56am UTC](https://community.dynatrace.com/t/update-workflow-docs/42066/3 "2023-10-13T07:56:26Z")

</div>

Glad to help 🙂
