You are viewing limited content. For full access, please sign in.

Question

Question

Problem with the same form in gateways

asked on May 6, 2021

Hi all, I have a problem. Let me explain the situation

I had an initial form to deliver activities to some areas with checkboxes, only the areas checked will upload some documents.

I did a Workflow to prepare some folders and other stuffs, so, after that, depends of the area, I made a inclusive gateway to directs the activities of every area in a subprocess. Each area has his own user.

 

All the subprocess are pretty much the same, a user task with a form with a workflow like the picture: 

The problem is when I run the process... for example, the first user enters to the form and upload his data.

 

But when another user access to the activity, the forms has the values of the previous form submited, and the idea it's that another area upload his own data.

 

I realized that I use the same form for each area, so, I created electronic forms for each area, but the data persist... I realizaed too that I use the same variables in all the forms... and if I want to avoid this, I need to create every form with different variables... but here it is my question, there's no other way to do that?

To use only one Form and each area open a clean form to update his data? I need to made this activities concurrent, so, I can't assign to one area, did his activities and then the other area did his own and so on.

Thanks in advance.

0 0

Replies

replied on May 7, 2021

It'd be neat if it were an option on the field, maybe with some conditions...

But until then, there's always javascript:

$(function () {
  if ($('[name=IsLocked]').val() == "False") {
    $('[attrtype="text"] [type="text"]').val('').change();
    $('[attrtype="number"] [type="text"]').val('').change();
    $('[attrtype="select"] select').val('').change();
    $('[attrtype="doc"] .file').remove();
  }
});

The if statement in there makes it so it won't clear the fields when you're looking at form submission history.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.