문제
데이터베이스 리더에서 파일 작가 채널에 변압기를 설정하려고합니다.MRN이라는 변수로 보내려는 MRN이라는 SQL 필드에서 읽고 있습니다.Msg [ 'msh']라는 변수에 대한 TMP [ 'msh']라는 변수가있는 변수가있는 채널을 한 단계를 추가했지만 더 나에게 오류 메시지가 나타납니다.
변수 이름에 유효하지 않은 문자가 들어 있습니다.새 변수 이름을 입력하십시오
에서 유효한 변수 이름을위한 규칙은 무엇입니까?
해결책
tmp
and msg
are two built-in variables containing E4X mappings of the outbound template and inbound message, respectively. You would map, via a MessageBuilder step, from inbound to outbound with tmp['MSH'][...] = msg['MSH']... where ...
refers to the appropriate sections. Essentially these are pre-populated javascript property arrays.
If you really want to create a variable for use in multiple places, the rules are alphanumeric plus '_', I believe.
In a MessageBuilder step, you could refer to a previously created variable with ${varname}.
I would recommend investing a little time in getting familiar with the basics. Documentation is wanting, to be sure, but this blog post series are a good place to start.