Discussions

Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
NetSuite 2025.2 Release Notes - This document summarizes the changes to NetSuite between 2025.2 and the previous release.
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
SuiteWorld October 6 - 9, 2025: Agenda Builder is live!

Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!

Check out this thread to learn more!

asynchronous workflow transition stopped working

edited Dec 2, 2019 3:38PM in SuiteCloud / Customization

I have a workflow which runs asynchronously to do some expensive background processing. While the workflow action script was only reading the record the transitions based on that scripts result worked correctly. Now that the script also updates the record as part of the processing the transition does not work even though the log shows that it fired successfully.

Is there any workaround?

Here's what it used to look like - notice that the send state shows a "success" response stored in the API success workflow state field.
[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"before","data-attachmentid":423919}[/ATTACH]
The corresponding log showing the transition[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"before log","data-attachmentid":423920}[/ATTACH]Here's the current behaviour, notice that the state field has not been set[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"after","data-attachmentid":423921}[/ATTACH]Finally the log showing the transition succeeding. Notice the overlapping times for the additional triggers, even though they do nothing it seems they're overriding the transition. There's even an onexit trigger for the asynchronous execution but the state is not exited![ATTACH=JSON]{"data-align":"none","data-size":"full","title":"after log","data-attachmentid":423922}[/ATTACH]

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2025)

This Week's Leaders

This Month's Leaders

All Time Leaders