I am attempting to create a general error popup element through a javascript.
Currently I am using the RMPApplication.getInvalidWidgets()-function in order to parse which labels to show in the error message.
It seems to be working for all elements except for the history widget?
I have also double checked this by using the widget function .isValid(), which always returns true.
I have set the comments to be required and the element does get marked as invalid if I click a button to continue with the process flow.
Have I made a mistake somewhere? Or is the fault in those functions?
Regards
Svensson, Peter
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/d977d136-6548-4945-946d-95510e32afd2%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
Sadly, that doesn't help entirely.
Is there some function available for .isRequired() as well then?
It would be inconvenient to have to scan through all elements in order to find the incorrect history widgets, but doable. If I can validate if a comment should exist or not to begin with. Otherwise it doesn't really help :(
If the element isn't required, I shouldn't stop the process from moving on, nor add it to a popup informing the user of mistakes.
Regards
Svensson, Peter