I have an infopath form, in the field "incomplete" set a default value, the default value is a formula, the formula is as follows: "
(((number (depreciation period) * 12) - ((translate (substring (now (), 0, 6), "-", "") and translate (substring (storage time, 0, 6)," - ", "")) * 12 + (substring - after (translate (substring (now (), 0, 9)," - ", "") and translate (substring (now (), 0, 6)," - ", "")) - the substring - after (translate (substring (storage time, 0, 9)," - ", "") and translate (substring (storage time, 0, 6)," - ", ""))))) * purchase amount)/(number (depreciation period) * 12) ", after the operation workflow, to judge if the salvage value calculated value greater than 0 the cycle running until the residual value is less than or equal to zero, but after tests found that even if the salvage value is zero, the workflow still running without stop,
Remove the value as a variable, found that although the form of the value is less than or equal to zero, but the workflow of variables has been no change, only after the edit form again to save changes, can you tell me how to solve this problem?
CodePudding user response:
Excuse me somebody know this problem? Workflow running, with a formula of infopath domain values has changed, but with a workflow variable is the value of the same, need to be edited can save the form once again the updated value
CodePudding user response:
If remove the variable hasn't been changed, you can try you define a variable used to save the value judgment