You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Before reading complete file, the module function is returning empty array and calling next action d

edited Jan 4, 2020 9:48AM in Visual Builder 4 comments

Content

Hi,

I am reading file by calling a module function in file picker action . In module function , I am using promise and returning the array.

However, before the entire file is read , it is returning an empty array to the rest service which is defined after the module function.

Any solution to stop this behavior and run the action sequentially will be highly appreciated.

Regards,

Aishwarya

Version

VIsual Builder Version : 19.3.1.4
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!