I am trying to construct a wireframe / activity diagram to help management understand a flow. I would like to include swimlanes, but salt seems to confuse the compiler(?)
Blow is the script that is generating the error. For bonus points, how do I wrap the Gateway salt in a condition?
@startuml
!unquoted procedure SALT($x)
"{{
salt
%invoke_procedure("_"+$x)
}}" as $x
!endprocedure
!procedure _model()
{+
<b>Product Model
[Buy Product]
}
!endprocedure
!procedure _gate()
{+
<b>Application Gateway
{
Email | "xxx@foo.com "
. | [Continue]
}
}
!endprocedure
!procedure _ciamLogin()
{+
<b>Corporate Login
{
Email | "xxx@foo.com "
Password | "*** "
. | [Continue]
. | <i>Signup
}
}
!endprocedure
!procedure _ciamProfile()
{+
<b>Corporate Profile
{
First Name | "...... "
Last Name | "...... "
Country | "...... "
...
. | [Continue]
}
}
!endprocedure
!procedure _appProfile()
{+
<b>Connect Profile
{
First Name | "...... " | [Edit Profile]
Last Name | "...... " | .
Country | "...... " | .
...
Facility | "...... " | .
[OK] | [Cancel]
}
}
!endprocedure
!procedure _azureLogin()
{+
<b>Azure Login
{
Email | "xxx@foo.com "
Password | "*** "
. | [Continue]
}
}
!endprocedure
|A| Application
|C| CIAM
|Z| Azure
|A|
(*) --> SALT(model)
model --> SALT(gate)
|Z|
gate -right-> SALT(azureLogin)
gate -left-> SALT(ciamLogin)
ciamLogin -left-> SALT(ciamProfile)
ciamLogin --> SALT(appProfile)
azureLogin --> SALT(appProfile)
ciamProfile --> SALT(appProfile)
appProfile -up-> SALT(ciamProfile)
:Email Registrar;
@enduml