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

Question

Question

If I assign a template in a workflow and it has Required Fields that are blank, the workflow terminates

asked on November 13, 2013

In order to force a user to assign a value to a field, I wish to make it a Required field. The field is initially blank. The choices are Yes / No.

But I cannot do this from within a workflow as the workflow will terminate.  The Required field cannot be blank. Is there a better way to do this?

1 0

Answer

APPROVED ANSWER
replied on November 13, 2013

Workflow behaves just like any other users, it does not have the ability to bypass field properties. You could add a "pending" option to your list.

2 0
replied on March 6, 2014 Show version history

Hi Miruna,

 

What if this was a Date field and within the template that was created you had a default value of a token, like %(Date) configured in the field. Should this also work?

 

I have a situation where the WF terminates as well in this scenario. It seems like WF doesn't recognise the default token value.

 

However, if I set the default date to a static value like "2014/03/06" then the WF continues without terminating and succesfully assigns the template.

 

FYI, I am only assigning a template to the entry, I am not explicitly assigning any fields and values to the entry. I want the default token value of the template to be used.

 

Thanks,

Sheldon

0 0
replied on March 6, 2014

%(Date) is not a server-side token, so if you're just assigning the template, it wouldn't automatically get populated. You have to have WF set the field.

1 0
replied on March 6, 2014

That makes sense, thanks Miruna

0 0

Replies

replied on November 13, 2013

Good idea, then add conditions to the workflow so it won't continue unless there is a Yes or No.

Thanks

0 0
replied on November 14, 2013

You can use a Try-Catch for this and if the workflow sends an error because it does not havee a decision then it will carry out a means to get this information (email and wait condition?)

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

Sign in to reply to this post.