You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After initial setup the list of prompts has 9 elements
after importing the Example flow: Enrollment with email verification, the list has 5 new elements. But these "new element" have already been there before import (from Field, Label and Type perspective).
Importing the sample flow again, will create again additional new prompts, and especially as the documentation suggested to update the flow like that:
In stages configuration I cannot really distinguish between all the same named prompts:
Expected behavior/questions:
should the prompt list be extended, if the prompts are already available (username, name, email, password, password_repeat) ?
is the ordering correct (username and password have both 0..)?
are the so called "prompts", not more "fields" or "field definitions"? and should the ordering better be done in the stages setup where the "fields" get used - so that a stage decides about the ordering of a field?
Interesting, for the first import that is (sadly) to be expected, since the existence check is done based on primary key, so that will (for the foreseeable future or until #1573 happens) be the case.
However, after the first import, that should not be the case, as the primary key of the akflow is used 1:1 in the database so it should update the existing prompts
I just retested it on my test instance, as unfortunately I recognized this on my productive instance... where i already imported different example flows.
But: i used multiple times the enrollment-email-verification.akflow which i downloaded on 2022-03-18 (i think there was no update on the flow since then) but i happend again.
Flows and Stages get overwritten, Prompts get added...
When i look at the Ids, eg. for the email prompt, i see in the akflow file:
Description
After initial setup the list of prompts has 9 elements
after importing the Example flow: Enrollment with email verification, the list has 5 new elements. But these "new element" have already been there before import (from Field, Label and Type perspective).
Importing the sample flow again, will create again additional new prompts, and especially as the documentation suggested to update the flow like that:
In stages configuration I cannot really distinguish between all the same named prompts:
Expected behavior/questions:
username
,name
,email
,password
,password_repeat
) ?Reproduce
Steps to reproduce the behavior:
Version and Deployment (please complete the following information):
The text was updated successfully, but these errors were encountered: