Jump to content
Paul Alexander

Problem with an activity

Recommended Posts

We have aBPM which has a Human Task in it which asks whether some info needs to be changed. 

I've made all of the fields so that they don't need to be filled in, but the tasks won't allow me to complete them unless I DO put something in each box:

image.png.2f1cd2e4c026082d42afeafa3913e076.png

image.png.45286d3a237449fa22efe261c7fb63e3.png

 

I've tried recreating the fields on the form and resaving, but it's still the same. 

 

Any ideas please?

 

 

 

Share this post


Link to post
Share on other sites

Hi @Paul Alexander,

I think problem is your regex validation rule here. As you can see there is "Please ensure this is an email address". You need to modify it to accept empty field or proper email address.

Best regards,
Miro

Share this post


Link to post
Share on other sites

Hi @Miro

Hmmm...ok thanks. I thought that NOT selecting the 'This field requires a value to be provided' would mean that the field doesn't NEED any text, but if it DOES have some text then it should be an email address? 

Presumably this means I'm going to need to change the Regex to say that it can either be blank OR an email address? Or is there a way of conditionally showing or hiding the Custom 'Capture Task Fields'?

 

thanks

Share this post


Link to post
Share on other sites

@Paul Alexander there will be soon (I think is matter of week or two) conditions available in task questions.


image.png

Share this post


Link to post
Share on other sites

@Miro

Is there a scheduled date for the update which will allow 'capture task fields' to be conditional please? I@m creating a fairly complex BPM at the moment and this addition will be really helpful if it's just around the corner!!

thanks

 

Share this post


Link to post
Share on other sites

@Miro

I can see that this update HAS now been pushed out to Service Manager - thank you!

However...there is a problem with it.....as I can't now complete a form with dynamic questions unless I set them all to NOT be mandatory regardless of whether they're shown on the form or not. 

For instance: I've set a task field to be shown if the value of a drop down is 'No', and also for that field to require a value if shown:

image.png.0c6853060ed0fccc5e93a7551bf68427.png

 

Although the field DOES show when required, it does NOT require a value for the activity to continue:

image.thumb.png.91d8728939e7d6cb2539c1179f8243b0.png

 

I've tried a couple of other iterations where some text IS required IF I select a particular option, but even after adding text, I still CAN'T press the 'continue' button.

I was hoping this would work the same way as the 'override flags' in the PCF did....but it doesn't seem to yet! 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

@Paul Alexander I think I replicated problem, it is allowing to click because when new field is added (it become visible) there is missing evaluation of form status - and as new field is mandatory the form is invalid now. It work only when you modify value of new field.

Let me work on proper fix for it. Will notify you about fix status here.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...