Anyone familiar with scheduled transitions? im try...
# suiteflow
d
Anyone familiar with scheduled transitions? im trying to schedule a transition to another state after an hour and it doesn't seem to work. I saw someone mention that scheduling transitions just doesn't work, and I wanted to confirm before trying alternative solutions.
m
Scheduled transitions definitely work but they ONLY work when you set the Delay unit
Have you enabled logging and reviewed the logs to see why it isn't triggering?
Also are you using savved search criteria or condition builder?
d
so I set the delay unit to an hour and its not working, the logging isn't showing anything because its not transitioning, so theres no history of attemping to transition
im not using any saved searches or conditions at the moment
m
I think it requires a condition to validate after the 1 hr delay
I recommend using a saved search condition
d
okay let me try a saved search condition fingers crossed, ill post an update after
m
Make a saved search for your record where the results of the saved search = the records you want to transition and then select it in your saved search criteria for the transsition
👍 1
❤️ 1
c
Is the workflow released or in testing? I feel like I have had issues when the scheduled workflows when they are in test.
d
The workflow is released and the saved search condition didn't work hmm i didnt set the search to main line, maybe that will help
m
Can you share a screenshot of the parameters of your transition
d
m
and when you look at the WF logs it still shows in state 13?
d
yeah still inside its active state
m
are you sure its not transitioning to state 2.1 but then moving directly to another state because of a transition in state 2.1
look at the workflow history
what is it doing?
the workflow history sublist should show all the transitions that happend so you can see what's going on
d
its just not leaving the state and sits there, so that state is still in the active section of system notes
would the workflow event definitions affect the states within it?
i would imagine not though
m
No that should only effect initiation
When you look at the workflow logs mark the show rejected actions box. There you should see your transition was considered but not executed
Probably at the bottom of the logs
d
im trying to run it again with a new SS condition, but here is the most recent workflow log. also a picture of the current state, i will check again in 35 minutes to see if the workflow attempted to transition
could this be the issue? scheduled workflows don't work in sandbox? https://netsuiteprofessionals.com/blog/question/why-is-this-workflow-getting-stuck-2/ "Are you testing this in Production or Sandbox? Scheduled workflows and workflow actions won’t run in sandboxes (SuiteAnswers 19470)."
m
Yes that is it...sorry should have asked that first
❤️ 1
👍 1