Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Match status at script level

Hi,

Below is the status i want to match at script level and the result will should give as,

Sign Triggered = sent + Declined +Failed +Voided

Envelope STATUS                     

Remarks

Original Error : no document found 

Sign Completed

sent                                

Sign Triggered

Completed                           

Sign Completed

Declined                            

Sign Triggered

Failed                              

Sign Triggered

Signed Envelope                     

Sign Completed

Voided                              

Sign Triggered

Please let me know how to get this.

Thanks...

1 Solution

Accepted Solutions
Gysbert_Wassenaar

I guess you want to map some values to other values. A mapping table and ApplyMap should do that trick:

mapStatus:

MAPPING LOAD [

Envelope STATUS ,Remarks

Original Error : no document found ,Sign Completed

sent ,Sign Triggered

Completed ,Sign Completed

Declined  ,Sign Triggered

Failed ,Sign Triggered

Signed Envelope  ,Sign Completed

Voided  ,Sign Triggered

];

Table:

LOAD

     ...some fields..,

     ApplyMap('mapStatus',[Envelope STATUS]) as Mapped_Status

FROM

   ...source...

     ;


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

I guess you want to map some values to other values. A mapping table and ApplyMap should do that trick:

mapStatus:

MAPPING LOAD [

Envelope STATUS ,Remarks

Original Error : no document found ,Sign Completed

sent ,Sign Triggered

Completed ,Sign Completed

Declined  ,Sign Triggered

Failed ,Sign Triggered

Signed Envelope  ,Sign Completed

Voided  ,Sign Triggered

];

Table:

LOAD

     ...some fields..,

     ApplyMap('mapStatus',[Envelope STATUS]) as Mapped_Status

FROM

   ...source...

     ;


talk is cheap, supply exceeds demand