Before calling the dummy process, recallData sets the value of a column called scratch1 to a string which contains the variable from callingStep. This is done specifying the string as a process input.
Can you show the details of what you’re doing in step 5?
Right now you can only use return values in if/else steps, call process steps, and return steps. It’s not currently possible to use the output of a process “inside” of an action (though it is on our todo list). @Dan_Bahir fyi.
Step 5 is calling a process and it is (trying to) use the variable as part of the process input, i.e. the columns that are updated before running the process.
So it is still in the process, not inside an action.
Ah, that makes sense. Thanks @Erik_Ferm . You should be able to pass in that data, so it’s possible that this is a bug. I will share with the team to investigate.
I tried reproducing this scenario but I am not able to, I am getting the desired behavior.
Would you mind sending a request to support@appsheet.com asking to route the request to me. That would allow to to further investigate the app that you built and provide a solution for you.
referring to your screenshot in step two, I notice your Step callingStep is calling returningProcess as a lookup but has no process inputs. I understand this (perhaps incorrectly) as a parameter needed for a lookup.
FYI, I also noticed that passing a primary key input to a lookup process, if that record cant be found, instead creates a new record using the ‘looked for’ ID. Seems pretty much the same as the Add option for calling processes, so I’m not sure I understand this stuff.
NOTE: I’m setting this up for testing purposes only, so the logic behind this might not make sense (because I can grab svc ID with a SELECT statement and have no need to use a lookup)
I tested this a bit yesterday and also today. This is what I found so far:
In my original app, all variables were returned as empty, regardless of how I referenced them.
I then created a new test app with only one table, one bot etc and I got it to work
I them made a copy of the app where the variables came back empty and, in the new copy, the variables were returned correctly without any change to the app
In the app that I copied and where the copy worked correctly, the calling step and the retrieving step were both inside a branch condition
This morning, sync times are really long and the bot stops after the calling step in all apps. This is true even if I don’t assign any value to any variables and don’t try to reference them
In the diagnostics view, the event (just an update to a row) has the status “error” and the calling step does not show as having been triggered even though it has put data into a table. This is only this morning. Yesterday it was working
As for referencing the variables, yesterday I got the syntax
I can still get what is supposed to work (aside from steps inside conditional steps) to work,
BUT I too am noticing that
AUTOMATION is UNUSABLY SLOW right now. Waiting over 5 minutes now for a saved record to trigger a single new record creation on a set of 3 records, a process that took just a few seconds yesterday.
Unfortunately, this issue has come back again. This is the problem:
I set a number of Y/N variables in a sub-process which returns data
I try to use them for a fork in a step below the calling step
The variables are not defined when I try to access them as [calling step].[variable name]
If I make a copy of the app (without copying the data), I can access the variables and the process works as intended without me changing anything in the app definition
Looking at the monitoring view, it appears that the variables are set correctly and the problem is in the branch step which looks like AND([callingstep].[var1], [callingstep].[var2] etc).