# Workflow Validation question

**URL:** <https://community.exalate.com/t/workflow-validation-question/4692>\
**Category:** General Questions\
**Tags:** migrated\_question, components\
**Created:** [November 4, 2024, 7:16am UTC](https://community.exalate.com/t/workflow-validation-question/4692 "2024-11-04T07:16:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:16am UTC](https://community.exalate.com/t/workflow-validation-question/4692/1 "2024-11-04T07:16:57Z")

</div>

_Originally asked by smpark on 29 April 2021 [(original question)](https://oldcommunity.exalate.com/questions/25071995)_

* * *

Hi,  
I’ve refer Complex workflows with advanced validations page.  
I saw that text

Ignore workflow conditions and validations  
Exalate ignores all conditions and validators when syncing statuses and you don’t need to adapt workflows. This approach is applicable for Jira Server status synchronization.

but I cannot sync my project  
I have a Validation that compares today’s date to the date in a custom field. However, an error occurs when syncing. How can I solve this problem?

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:16am UTC](https://community.exalate.com/t/workflow-validation-question/4692/2 "2024-11-04T07:16:58Z")

</div>

_Answer by Serhiy Onyshchenko on 14 May 2021_

Hello, smparkwould setting that custom field to current date from incoming sync script help?  
Something like this:

```auto
//...
if(replica.status.name == "...") { issue.status = "..." // your status sync logic
  issue."Date Field" = new Date() //you may use any custom field name like this
}

```

Regards, Serhiy.

* * *
