<@UC965A0EM> Why you think you will need that? I h...
# suitescript
a
@jamespak Why you think you will need that? I have 109 Suitelets and never need to use that...
j
I've created a ton of suitelets in the past and I'm experimenting with the idea of using Assistants for multi-step processes. In this particular instance, I'm letting a user upload a file, move to the next step to validate the results, and then the last step will process the file
I know I could do this through a standard suitelet, but I'm wondering if my use-case is better accomplished with the Assistant
a
I never used it before... maybe this weekend I play around with it... let you know if I do something...
j
m
Assistants have some nice functionality around navigating between steps, and getting the values that were entered at other steps. They also present a nice UI for a multi-step process.
j
hey @mattdahse is it possible to get values from Step 1 at Step 2 if 2 is an intermediary step? I'm having a lot of trouble trying to get anything at all
m
Yes, you can use something like
assistant.getSteps()[0].getValue({fieldId: 'custpage_my_field'})
to get any field value from any step.