web stats
Check which segment of AIP exists - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-29-2017, 08:05 PM
DragonQueen DragonQueen is offline
OBX.1 Kenobi
Join Date: Aug 2016
Posts: 37
DragonQueen is on a distinguished road
Default Check which segment of AIP exists

We receive the provider id in either ['AIP'][2]['AIP.3']['AIP.3.1'] or ['AIP'][1]['AIP.3']['AIP.3.1'] if ['AIP'][2]['AIP.3']['AIP.3.1'] segment does not exist.
I tried using if statement with .length > 0 but I get this error:

TypeError: Cannot call method "length" of undefined

I am using Mirth 3.4.1
Reply With Quote

javascript, segment

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 01:54 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation