1. An apparatus for generating weights of a workflow, the apparatus comprising: a processor; and memory to store instructions that, when executed by the processor, cause the processor to: identify one or more path segments in a data structure that represents a workflow, the one or more path segments corresponding to a path traversed by a user; increase a weight associated with each of the identified one or more path segments in the data structure; and decrease one or more weights in the data structure associated with a plurality of path segments based on a temporal decay rate.