Hi Team,
I have 2 interface one is parent and another is child interface.
From child interface i am submitting the form and found that value is not passing from child to parent.
I am using same rule input for both parent and child.
help me on this to get the solution.
Thanks,
Discussion posts and replies are publicly visible
Submit means that the task in a process is completed and the process flow continues.
In interfaces, data can be shared between top-down from parent to children. Sharing data then means that you need to use a rule input or a local on the parent and pass it to a rule input of the child. Then changing a value in the child will reflect in the parent.
Can you provide some screenshot / code of your way of implementation ?
Also, did you try to test the interfaces individually, as in does the rule input gets updated in the parent / child interfaces
PARENT INTERFACE
rule!RLM_section_updateAssignee( requestId: ri!requestId, buttonValue: ri!buttonValue, requestData: ri!requestData, comments: ri!comments )
CHILD INTERFACE
a!paragraphField( label: "Comment", instructions: "(" & 255 - len(ri!comments) & ")", value: ri!comments, saveInto: a!save(ri!comments,save!value), refreshAfter: "KEYPRESS", readOnly: false() ),
I want to pass the comment value from child to parent which I am going to use in process model.
I have test interface individually and it is working fine, but value is not passing from child interface
It looks okay to me
Can you check what are the data types of comment in both the interfaces?
data type is text for both the interface
I tested and it looks fine to me
can you share some screenshots?
If you check individually it will work, when you test with process model it will not work
it depends on how you have configured the process model.
Can you share that ?
Also, can you describe what happens when you submit the form, does the process continues with blank comments ?
when I give any comment in the field and click outside value get disappeared
Well, it looks like you have not configured your form in the process model correctly.
Make sure you are modelling your process correctly so that you can save values from a form.
spefically, ensure you have mapped properly your interface inputs in Activity class variables (Data - > Input tab of your User Interface) and you have a process variable getting them saved into
something like
You can configure your parent interface here in the node