Hi:
Glad you like qRules -- we love it and use it internally for a lot of our forms (which is one of the reasons it keeps getting new commands-- we add to it as we need things!).
I'm not quite sure I understand your issue -- but if what you want is to set the value of a specific field in your repeating table, SetValue is the command to use. You should be able to use last() to get the last one.
SetValue /xpath=my:myFields/my:Actions[last()]/my:Action_Des /value=123
Since you want to use a value from your form, you'd use a formula:
concat("SetValue /xpath=my:myFields/myActions[last()]/my:Action_Des /value=", pathToFieldYouWant)
Can you tell me where
B1rds:I have looked at the qrules library but it only states that this is difficult to do
is in the documentation? I'm assuming you mean the user guide? I'd like to correct that, since I believe what you are trying to do is not actually that difficult with qRules
You'll need to copy the XPath to your Action_Des field, as I'm just guessing on the syntax, but then you can add [last()] to get the last row. Where the value placeholders are above, you can use the InfoPath field selector in the formula editor to select the correct node from your HazardName group -- probably something like:
current()/my:Control_1[@my:Status_1 = 'Not In Place']
But again, just guesses. If you need additional help, you can attach your form to the Options tab of a reply and I can help you get the command syntax right -- but I may need more description of what you are trying to accomplish if I've misunderstood.