I am having an issue with two UD fields. I had created a field and realized I needed that field to be an integer instead of string. I then deleted that field, regen and reset IIS and then created the integer field, ,regen and reset IIS. The problem is that even though the first field is not longer synced to the database it is still showing up in the drop down for fields/Conditions/DataDirective and the new field is not there (deleted field = SupplierID_c, new field is VenNum_c)
Has this happened to anyone else? Does anyone know how to fix this? I have done the regen/reset IIS many times and have also tried to stop/start the Task Agent and nothing worked. I have created many UD fields so I am not sure what happened here.
I will definitely try your steps after hours today. The only step I hadn’t done was clearing the cache.
When you say ‘close the client’ which client are you referring to? The only thing that would be open is the Admin Console. Also, can you clear the cache on the console? I had cleared my client cache and that didn’t make a difference.
I’ve seen it also show In Sync and the field never showed up in BPM Designer, but did in Script Editor, until I cleared my cache in C:\ProgramData\Epicor
I have never done that before and I do not see a Cache Folder in Program Data\Epicor. Do I just delete everything in that Program Data\Epicor folder? Want to make sure I do things correctly.
I’ve done that many times without success. I’m hoping if I know what to delete in the Program Data folder I will finally get the results I was expecting.
You can delete everything under ProgramData\Epicor when Epicor is closed. It will be rebuilt when Epicor opens. Specifically for this issue delete the folder for the server you are developing from.
From where are you launching the Workflow Designer? I’ve only seen this form from one of the widgets.
It seems to be different depending on where you launch this from, after debugging quite a bit I found that from a Data Directive it seems to load the field list from Ice.BpArgument.TypeInfo which might not be updated.
Data Directives is in my favorites so that is where I launch it from. I tried going to it’s original location and that didn’t matter either.
I have followed all of the steps that were suggested and I am still having the problem. The only place this is not working properly is in Data Directives>Conditions>specified field.
Could there be something wrong with my user account all of a sudden?
Are you creating a new directive or modifying an existing one?
If it’s the latter try deleting and recreating the directive, hopefully that picks the new table definition and saves it in Ice.BpArgument.TypeInfo
There is also a conversion program called BPMUpd_E10toE10_001 meant to upgrade bpms from previous versions when upgrading epicor, you could try that but the scope is larger.
Other options might be using the Directive Export/Import programs.
There is also a Directive Update program.
I don’t know how any of this works internally, so try and see if it works.
I’ve had to “Clear Bindings” before to use the updated schema. Also, if you’re using any local variables, they may need to be recreated because the base dataset schema has changed.
I am actually doing both a new and modifying. I will try to export/import. I did place a support call in EpiCare so hopefully they get back to me soon.
I waited to see what EpiCare would suggest and they said to rewrite the BPM. So I decided to try your suggestion first of export/import and I have to say you are a genius! Thank you, Thank you, Thank you!!!
The export/import reset the drop down and was finally able to see the correct field.