About AddHistoryAPI
In this Post, we will see what is AddHistory API activity, Pega provides many API(Built In) activity.
l We can reuse these activity in many places based on requirement.
APIs is in the path : Configure ->
Case Management -> Processed -> APIs
Here we have many built in APIs.
If we see the history of that activity we
can understand that this activity will write history to Work Object(Case ID).
A single method used in this activity History-Add
, we have to provide Memo(Description) as input parameter.
Demo:
GetCustomerData flow
In Post processing of flow action called
AddHistory activity, for that provided a memo(Customer Data has been recieved)
as Input
A case has been completed, We can able to
see the history in Audit tab.
In History class of customer class we can
able to see the history we wrote.
If you click any row a tab wil open , there
we can see the xml version by using View XML.
Here we can see more details
Please ask if you have any doubts in comment😊
Cool one mate
ReplyDelete