Updated riGetCurrentCase with case type
p4#: 21619