Fixing namespaces issue
This commit is contained in:
parent
451733961b
commit
77efdfa110
2 changed files with 7 additions and 7 deletions
|
@ -94,7 +94,7 @@ class ProcessInteractionService < BaseService
|
|||
end
|
||||
|
||||
def activity_id(xml)
|
||||
xml.at_xpath('//activity:object/xmlns:id', activity: ACTIVITY_NS).content
|
||||
xml.at_xpath('//activity:object', activity: ACTIVITY_NS).at_xpath('./xmlns:id').content
|
||||
end
|
||||
|
||||
def salmon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue