How can we use and configure Fetch OTP task

Also mention the steps of it.

@aakriti.kamboj @Harshit Pls look into this.

@Gitika_Verma, To configure the FETCH_OTP task, please follow the below-mentioned steps:

  1. Create a Taskgroup, you can map this taskgroup on the OnCompleteion event of the OTP element.
  2. And map the FETCH_OTP task, in this task, you’ll see two parameters:
  • Output Location: If you want to display the OTP as text in the application, you can provide that element’s ID as the output location.
  • Reload Element: To refresh that mapped element.

Please mark this answer as a solution, if it resolves your query.

@AnushkaGupta Can you provide an example with proper steps to use this task?

Hi @Neeraj_Kumar, Sure, you can refer to the below-mentioned steps:

I am subscribing to the GENERATE_OTP Service available in Vahana Hub:

These will be the configurations of that API in vDesigner2.0:

Request:

Response:

Now, after the Invoke API task. I’ll be configuring the FETCH_OTP task in which a text will be the Output Location for my OTP.