Close attestations in bulk

Hello everyone,

what is the best way to close attestation cases in bulk?
We have a lot of pending attestation cases that have to be approved, is it possible to do it once and for all?

Thanks,
Lucrezia

Parents
  • Hi,

    If you want/need the cases to be approved you'll need to know who the approver can/should be.

    Then you can run this type of SQL:

    Declare @procid varchar(38)

    select @procid= newid()

    Declare @objkeys dbo.QBM_YParameterList

    exec dbo.QBM_PJobCreate_HOCallMethod 'AttestationCase','UID_AttestationCase=''<uid of att case>''',
    @save=1,@GenProcID=@procid,@ObjectKeysAffected=@objkeys,@methodname='MakeDecision',
    @Param1='<uid of approver>',@Param2='True',@Param3='<reason for approval>'

    You'll need a single exec line per attestation case.

    HTH, Barry.

Reply
  • Hi,

    If you want/need the cases to be approved you'll need to know who the approver can/should be.

    Then you can run this type of SQL:

    Declare @procid varchar(38)

    select @procid= newid()

    Declare @objkeys dbo.QBM_YParameterList

    exec dbo.QBM_PJobCreate_HOCallMethod 'AttestationCase','UID_AttestationCase=''<uid of att case>''',
    @save=1,@GenProcID=@procid,@ObjectKeysAffected=@objkeys,@methodname='MakeDecision',
    @Param1='<uid of approver>',@Param2='True',@Param3='<reason for approval>'

    You'll need a single exec line per attestation case.

    HTH, Barry.

Children