CREATE TABLE fnd_bpm_task_history_tl (
    DOMAIN               VARCHAR2(256),
    TASK_ID              VARCHAR2(256),
    VERSION              NUMBER       ,
    OUTCOME              VARCHAR2(400),
    STAGE                VARCHAR2(800),
    PARTICIPANT          VARCHAR2(800),
    LANGUAGE             VARCHAR2(16) ,
    SOURCE_LANG          VARCHAR2(16)     NOT NULL,
    INITIATED_DATE       TIMESTAMP(6) ,
    CREATION_DATE        TIMESTAMP(6)     NOT NULL,
    CREATED_BY           VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE     TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY      VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN    VARCHAR2(128),
    DOMAIN               VARCHAR2(256),
    TASK_ID              VARCHAR2(256),
    VERSION              NUMBER       ,
    OUTCOME              VARCHAR2(400),
    STAGE                VARCHAR2(800),
    PARTICIPANT          VARCHAR2(800),
    LANGUAGE             VARCHAR2(16) ,
    SOURCE_LANG          VARCHAR2(16)     NOT NULL,
    INITIATED_DATE       TIMESTAMP(6) ,
    CREATION_DATE        TIMESTAMP(6)     NOT NULL,
    CREATED_BY           VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE     TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY      VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN    VARCHAR2(128),
    CONSTRAINT pk_fnd_bpm_task_history_tl PRIMARY KEY (DOMAIN, TASK_ID, VERSION, LANGUAGE, DOMAIN, TASK_ID, VERSION, LANGUAGE)
);
