So, I need to use formLayout as top level, because it's a requirement to run Process Model, but, i have a Header Content Layout (where I can't reproduce using another layout), and when I try to use this as formLayout child, there a error message that is not possible, because is not compatible. What can I do?
Discussion posts and replies are publicly visible
The formLayout is a shortcut, but you should be able to duplicate all you need with other components. You can still get sections and anything else you need inside the contents:, and at the bottom you can just include a buttonArrayLayout. You can use columns or a side-by-side to get Cancel on one side and Submit on the other, and they can all be configured to submit, or startProcess, or you can attach a!startProcessLink to other components or attach recordActions anywhere in the form. And the form header can be duplicated with rich text or left out.
In most projects I never see anyone using formLayout on any of their forms anymore. Perhaps you could elaborate on your requirement to "run Process Model" unless this answer is sufficient.
Got it, but when i go in a site object, and I try to set a tab to execute an action with process model, there is a place holder message, to recommend start with a form, like picture below, how can I handle it?
It doesn’t have to be a form layout. You need to place your interface in the process start form.
Oh, ok, the language is just confusing. Right click on the start node of the PM and attach any SAIL you want to the start node as a start form. It technically doesn't even need a button with "submit: true" to work, but you won't run the rest of the process until you submit the form, so in that sense you need at least one button that submits.