Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
20 replies
Subscribers
6 subscribers
Views
6443 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
We just imported our flow from test box to our production box and started our ru
nitas811
over 11 years ago
We just imported our flow from test box to our production box and started our run. in test box the node works however in production box we are getting the following error and is stuck on a node. Expression resulted in invalid recurrence configuration. Has anyone encountered this and how to resolve? ...
OriginalPostID-102745
OriginalPostID-102745
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Check the Scheduling tab for that node and the Other Tab for misconfigurations.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nitas811
over 11 years ago
yes i checked that and there is nothing in that node.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Looking at your Model with Shireesh I noticed that you have a timer configured with the following recurrence
=rule!getIntConstBasedOnEnv("MINOR_RA_JIRA_CDT_REFRESH_DELAY")
but the environment is missing the MINOR_RA_JIRA_CDT_REFRESH_DELAY constant
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Since you are using a custom function to find constants by name they won't be detected by the Missing Dependencies Checker so you need to be careful with including all the required constants. Simply export this one and bring it to this environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Don't re-create the constant, you better export and import so it preserves its UUID in case you are referring it in other place and not only in your custom function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nitas811
over 11 years ago
yes after bringing these constants its able to proceed further. appian should give better error message as to what its erroring on and also produce the dependency check accurately.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
It's very important to remember that the dependency checker, and pretty much everything in Appian, works based on the UUID of the objects; a text in quotes, even if it's the name of a constant, is considered a string which can represent anything in the system that's why when building custom functions that work with constant names you need to be careful and keep in mind this design so you don't miss including them in the package.
On the other hand it is always better to analyze the server.log for a more detailed error since the alerts will usually just contain a summary of it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nitas811
over 11 years ago
even the server.log is not giving the name of the constant that is missing, its so encryptic
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 11 years ago
your custom function getIntConstBasedOnEnv() is a better place to catch the exception properly (in the log file, since you don't want to throw an exception from custom function) ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nitas811
over 11 years ago
how do I tell it to catch exception if the function itself is not there?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>