hi,
i created interface using milestone. In interface it executes all steps but in process model when i click next/submit buttton flow got stopped.
a!localVariables( local!milestonesteps:rule!M_TSA_MilestoneSteps( Delivered:ri!OrderTracking['recordType!{6600bb25-98dd-46fe-8391-fbabecac3729}M_TSA Records.fields.{549e9802-7500-4ad2-ab51-144c175dd513}DeliveryStatus'] ), local!Activestep:1, a!formLayout( label: "Order Status", contents: { a!sectionLayout( label: "", contents: { a!milestoneField( label: "", labelPosition: "ABOVE", steps: local!milestonesteps, links: a!startProcessLink(), active: local!Activestep, color: if( isnull(ri!OrderTracking['recordType!{6600bb25-98dd-46fe-8391-fbabecac3729}M_TSA Records.fields.{549e9802-7500-4ad2-ab51-144c175dd513}DeliveryStatus']), {}, if( ri!OrderTracking['recordType!{6600bb25-98dd-46fe-8391-fbabecac3729}M_TSA Records.fields.{549e9802-7500-4ad2-ab51-144c175dd513}DeliveryStatus']=true, "POSITIVE", "NEGATIVE" ) ) ), a!sectionLayout( label: "", contents: { rule!M_TSA_Ordered( Step: local!Activestep ), rule!M_TSA_Packed( Step: local!Activestep ), rule!M_TSA_Shipped( Step: local!Activestep, Delivered: ri!OrderTracking['recordType!{6600bb25-98dd-46fe-8391-fbabecac3729}M_TSA Records.fields.{549e9802-7500-4ad2-ab51-144c175dd513}DeliveryStatus'] ), rule!M_TSA_OrderStatus( Delivered: ri!OrderTracking['recordType!{6600bb25-98dd-46fe-8391-fbabecac3729}M_TSA Records.fields.{549e9802-7500-4ad2-ab51-144c175dd513}DeliveryStatus'], Step: local!Activestep ) } ) } ), }, buttons: a!buttonArrayLayout( buttons: { a!buttonWidget( label: if(local!Activestep<3,"Next","Submit"), saveInto: { if( local!Activestep<4, a!save( local!Activestep,local!Activestep+1 ), {} ), a!save(ri!Button,local!Activestep+1) }, value: if(local!Activestep<3,"Next","Submit"), submit: true, style: "SOLID", loadingIndicator: true, showWhen: local!activestep<4 ), a!buttonWidget( label: "Back", value: ri!Button, saveInto: { if( local!Activestep>1, a!save( local!Activestep,local!Activestep-1 ), {} ), a!save(ri!Button, local!Activestep-1 ) }, submit:true(), style: "OUTLINE", showWhen: local!Activestep>1, validate: false ) } ) ) )
Discussion posts and replies are publicly visible
It is pretty difficult to see what is going on here. Can you help us with some additional information? E.g. your process model, and what your want to achieve.
Did you enable "submit" on that buttons by intention?
Quick hint: I made a podcast episode about how to get great answers from the Appian community: appian.rocks/.../
Thanks for the information.