I have a scenario to email the form's first page to the email provided in the form.
LF (Form contains 2 pages) -> route to email service task (email will contain only the first page of the form) any thoughts on how to split the form's pages?
I have a scenario to email the form's first page to the email provided in the form.
LF (Form contains 2 pages) -> route to email service task (email will contain only the first page of the form) any thoughts on how to split the form's pages?
You can add a Field Rule to hide Page 2 when the Step Name is not the name of your starting step (and not any assigned tasks /archives that may exist between). This way when it reaches the Email Activity the second page will be hidden.
I see an option in the field rule to hide page 2 but not the step name populates in the condition section
Oh this is the Classic Designer. You have to transfer the current step into a field so you can reference it as a field value.
Add an HTML field and put the following syntax
{/dataset/_current_step_name}
Give it a class name of "step"
Create a Single Line with a name of Step and class name of stepOutput
Then add the following JS
$(document).ready(function(){
let step = $('.step').text();
$('.stepOutput input').val(step).change();
});
Now create a rule to show Page 2 when Step is Start or whatever your starting object name might be if changed from default.
If you switch to the modern designer you can reference the step directly in the rules, but you lose many code features. I usually recommend the Classic for coders and the Modern for non-coders.
thank you, I will try this out.